Compare commits

..

2 Commits

View File

@ -2,19 +2,19 @@ object CheckCommand "home_assistant" {
command = [ PluginContribDir + "/check_home_assistant/check_home_assistant.py" ] command = [ PluginContribDir + "/check_home_assistant/check_home_assistant.py" ]
arguments = { arguments = {
"--token" = { "--token" = {
value = "$home_assistant_token$" value = "$home_assistant_token"
description = "API token for Home Assistant" description = "API token for Home Assistant"
} }
"--url" = { "--url" = {
value = "$home_assistant_url$" value = "$home_assistant_url"
description = "URL for Home Assistant" description = "URL for Home Assistant"
} }
"--warning" = { "--warning" = {
value = "$home_assistant_warning$" value = "home_assistant_warning$"
description = "Return warning if battery percentage is outside RANGE" description = "Return warning if battery percentage is outside RANGE"
} }
"--critical" = { "--critical" = {
value = "$home_assistant_critical$" value = "home_assistant_critical$"
description = "Return critical if battery percentage is outside RANGE" description = "Return critical if battery percentage is outside RANGE"
} }
} }