Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MihVS committed Jan 20, 2024
2 parents 2ea6f2a + 552a860 commit ee8ef62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions custom_components/zont_ha/core/zont.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from homeassistant.const import (
STATE_ALARM_TRIGGERED, STATE_UNAVAILABLE, STATE_ALARM_DISARMED,
STATE_ALARM_ARMED_HOME, STATE_ALARM_DISARMING, STATE_ALARM_ARMING
STATE_ALARM_DISARMING, STATE_ALARM_ARMING, STATE_ALARM_ARMED_AWAY
)
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.typing import HomeAssistantType
Expand Down Expand Up @@ -129,7 +129,7 @@ def get_state_guard_zone_for_ha(guard_zone: GuardZoneZONT) -> str:
case state_zont.disabled:
return STATE_ALARM_DISARMED
case state_zont.enabled:
return STATE_ALARM_ARMED_HOME
return STATE_ALARM_ARMED_AWAY
case state_zont.disabling:
return STATE_ALARM_DISARMING
case state_zont.enabling:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/zont_ha/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"integration_type": "hub",
"dependencies": ["http", "zeroconf"],
"requirements": [],
"version": "0.1.3"
"version": "0.1.4"
}

0 comments on commit ee8ef62

Please sign in to comment.