diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8e8d1fc..79dc205 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11"] + python-version: ["3.12"] steps: - uses: actions/checkout@v3 diff --git a/custom_components/hkc_alarm/alarm_control_panel.py b/custom_components/hkc_alarm/alarm_control_panel.py index a8950cb..1684219 100644 --- a/custom_components/hkc_alarm/alarm_control_panel.py +++ b/custom_components/hkc_alarm/alarm_control_panel.py @@ -27,6 +27,8 @@ class HKCAlarmControlPanel(AlarmControlPanelEntity, CoordinatorEntity): | AlarmControlPanelEntityFeature.ARM_AWAY ) + _attr_code_arm_required = False + def __init__(self, data, device_info, coordinator): AlarmControlPanelEntity.__init__(self) CoordinatorEntity.__init__(self, coordinator) diff --git a/custom_components/hkc_alarm/manifest.json b/custom_components/hkc_alarm/manifest.json index ef01c4e..c9f165b 100644 --- a/custom_components/hkc_alarm/manifest.json +++ b/custom_components/hkc_alarm/manifest.json @@ -1,7 +1,7 @@ { "domain": "hkc_alarm", "name": "HKC Alarm", - "version": "1.0.6", + "version": "1.0.7", "documentation": "https://github.com/jasonmadigan/ha-hkc", "issue_tracker": "https://github.com/jasonmadigan/ha-hkc/issues", "dependencies": [], @@ -9,7 +9,7 @@ "@jasonmadigan" ], "requirements": [ - "pyhkc==0.4.2" + "pyhkc==0.4.3" ], "config_flow": true, "iot_class": "cloud_polling" diff --git a/hacs.json b/hacs.json index 9f8fe18..a97b4c1 100644 --- a/hacs.json +++ b/hacs.json @@ -1,6 +1,6 @@ { "name": "HKC Alarm Integration for Home Assistant", - "hacs": "1.0.6", + "hacs": "1.0.7", "render_readme": true, - "homeassistant": "2024.2.4" + "homeassistant": "2024.6.1" } \ No newline at end of file diff --git a/requirements_dev.txt b/requirements_dev.txt index dff1dfb..c93faae 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,6 +1,6 @@ -aiohttp==3.9.3 -homeassistant==2024.2.4 +aiohttp>=3.9.5 +homeassistant==2024.6.1 pytest pytest-homeassistant-custom-component==0.13.103 pytest-aiohttp -pyhkc==0.4.2 +pyhkc==0.4.3