diff --git a/custom_components/zont_ha/core/zont.py b/custom_components/zont_ha/core/zont.py index 01c11ae..a626fe9 100644 --- a/custom_components/zont_ha/core/zont.py +++ b/custom_components/zont_ha/core/zont.py @@ -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 @@ -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: diff --git a/custom_components/zont_ha/manifest.json b/custom_components/zont_ha/manifest.json index dfc4aa6..5a936b4 100644 --- a/custom_components/zont_ha/manifest.json +++ b/custom_components/zont_ha/manifest.json @@ -7,5 +7,5 @@ "integration_type": "hub", "dependencies": ["http", "zeroconf"], "requirements": [], - "version": "0.1.3" + "version": "0.1.4" } \ No newline at end of file