* Adopt new runtime entity data model for AlarmDecoder
Transition the AlarmDecoder integration to the new runtime entity model.
* Apply change suggestions by epenet
Tested & applied the suggestions from epenet.
* Update AlarmDecoder component to newer model
This commit makes AlarmDecoder operate as a proper device entity following the new model introduced a few years ago.
Code also has an internal dependency on a newer version of adext (>= 0.4.3) which has been updated correspondingly.
* Created AlarmDecoder entity
Added an alarmdecoder entity so the device_info can be re-used across the integration
* Move _attr_has_entity_name to base entity
As per code review suggestion, clean up the object model.
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Missed one suggestion with the prior commit
Moves _attr_has_entity_name to base entity
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Address some ruff issues
* Apply additional ruff cleanups
Ran ruff again to clean up a few files tat weren't picked up last time
* Apply suggestions from code review
Some additional cleanup of style & removal of unnecessary code
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Properly generated the integration file
generation had to happen twice for this to work. Now that it's generated, I'm including the missing update.
* Apply suggestions from code review
Use local client variable instead of self._client
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Sort the manifest
documentation was added, but it wasn't sorted properly in the key/value pairs
* Add alarmdecoder entity file to coverage ignore file
Added the alarmdecoder entity file so it is ignored for coverage
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass