palazzem / ha-econnect-alarm

Home Assistant integration that provides a full-fledged Alarm Panel to control your Elmo/IESS alarm systems.
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

feat: add `AlarmDevice` component #28

Closed palazzem closed 9 months ago

palazzem commented 9 months ago

Related Issues

Proposed Changes:

Add AlarmDevice component to handle main unit states. This is a follow-up PR after it has been removed from econnect-python through PR (https://github.com/palazzem/econnect-python/pull/113)

Testing:

devices.py is fully tested with a fake client that behaves like the original client. The client isn't a mock, only its responses are mocks.

Extra Notes (optional):

n/a

Checklist