< Back
Set-HomeAssistantSwitchState
Post
NAME Set-HomeAssistantSwitchState
SYNOPSIS
Sets configuration for accessing Home Assistant
SYNTAX
Set-HomeAssistantSwitchState [[-Entity] <String>] [[-State] {On | Off}] [<CommonParameters>]
DESCRIPTION
Sets configuration for accessing Home Assistant
PARAMETERS
-Entity <String>
{{Fill Entity Description}}
Required? false
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-State <String>
{{Fill State Description}}
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Set-HomeAssistantSwitchState -AccessKey "mysecretkey" -BaseUrl "http://192.168.0.1:8321"
RELATED LINKS
SYNOPSIS
Sets configuration for accessing Home Assistant
SYNTAX
Set-HomeAssistantSwitchState [[-Entity] <String>] [[-State] {On | Off}] [<CommonParameters>]
DESCRIPTION
Sets configuration for accessing Home Assistant
PARAMETERS
-Entity <String>
{{Fill Entity Description}}
Required? false
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-State <String>
{{Fill State Description}}
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Set-HomeAssistantSwitchState -AccessKey "mysecretkey" -BaseUrl "http://192.168.0.1:8321"
RELATED LINKS