PowerShell_Scripts/HomeAssistant/Stop-HA_Addon.ps1
Gal Szkolnik 2aa29de253 Updated HA package
Refresh-HADeviceRegistry added prompts as well as generalization using
the profile.d set variables.
Added profile.d template file for smoother setup
Added HA Addon commands
2021-05-23 16:13:28 -04:00

8 lines
248 B
PowerShell

[CmdletBinding(SupportsShouldProcess)]param(
[string[]]$AddOnSlug,
[switch]$NoPatternMatch
)
Get-HA_Addon 'Running' -AddOnSlug:$AddOnSlug -NoPatternMatch:$NoPatternMatch | ForEach-Object {
Invoke-HomeAssistantCli addons stop $_.slug
}