Rename to avoid similarity to an existing project
This commit is contained in:
parent
36bd1e7485
commit
b9163ccfe6
@ -1,20 +1,20 @@
|
|||||||
object CheckCommand "home_assistant" {
|
object CheckCommand "home_assistant_state" {
|
||||||
command = [ PluginContribDir + "/check_home_assistant/check_home_assistant.py" ]
|
command = [ PluginContribDir + "/check_home_assistant_state/check_home_assistant_state.py" ]
|
||||||
arguments = {
|
arguments = {
|
||||||
"--token" = {
|
"--token" = {
|
||||||
value = "$home_assistant_token$"
|
value = "$home_assistant_state_token$"
|
||||||
description = "API token for Home Assistant"
|
description = "API token for Home Assistant"
|
||||||
}
|
}
|
||||||
"--url" = {
|
"--url" = {
|
||||||
value = "$home_assistant_url$"
|
value = "$home_assistant_state_url$"
|
||||||
description = "URL for Home Assistant"
|
description = "URL for Home Assistant"
|
||||||
}
|
}
|
||||||
"--warning" = {
|
"--warning" = {
|
||||||
value = "$home_assistant_warning$"
|
value = "$home_assistant_state_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_state_critical$"
|
||||||
description = "Return critical if battery percentage is outside RANGE"
|
description = "Return critical if battery percentage is outside RANGE"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user