From b9163ccfe6ce706b4b540fad65228c8b5faa887f Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 29 Sep 2022 22:38:08 -0400 Subject: [PATCH] Rename to avoid similarity to an existing project --- ...assistant.conf => check_home_assistant_state.conf | 12 ++++++------ ...ome_assistant.py => check_home_assistant_state.py | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename check_home_assistant.conf => check_home_assistant_state.conf (53%) rename check_home_assistant.py => check_home_assistant_state.py (100%) diff --git a/check_home_assistant.conf b/check_home_assistant_state.conf similarity index 53% rename from check_home_assistant.conf rename to check_home_assistant_state.conf index 5a1c120..c79b9f4 100644 --- a/check_home_assistant.conf +++ b/check_home_assistant_state.conf @@ -1,20 +1,20 @@ -object CheckCommand "home_assistant" { - command = [ PluginContribDir + "/check_home_assistant/check_home_assistant.py" ] +object CheckCommand "home_assistant_state" { + command = [ PluginContribDir + "/check_home_assistant_state/check_home_assistant_state.py" ] arguments = { "--token" = { - value = "$home_assistant_token$" + value = "$home_assistant_state_token$" description = "API token for Home Assistant" } "--url" = { - value = "$home_assistant_url$" + value = "$home_assistant_state_url$" description = "URL for Home Assistant" } "--warning" = { - value = "$home_assistant_warning$" + value = "$home_assistant_state_warning$" description = "Return warning if battery percentage is outside RANGE" } "--critical" = { - value = "$home_assistant_critical$" + value = "$home_assistant_state_critical$" description = "Return critical if battery percentage is outside RANGE" } } diff --git a/check_home_assistant.py b/check_home_assistant_state.py similarity index 100% rename from check_home_assistant.py rename to check_home_assistant_state.py