PowerShell_Scripts/HomeAssistant/Start-HA_Addon.ps1

9 lines
251 B
PowerShell
Raw Normal View History

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