mirror of
https://github.com/home-assistant/core.git
synced 2025-12-27 06:28:31 +00:00
* Make tamper sensor a property sensor * Add low battery binary sensor as a binary property sensor * Change according to review comment * Use value_fn lambda * Fix comparison * Specific entity_description typing * Minimize the code block affected by catching AttributeError * Update homeassistant/components/deconz/binary_sensor.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Update homeassistant/components/deconz/binary_sensor.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Avoid try statement * Reflect review changes in sensor platform as well * Store known sensor entities once per device Co-authored-by: Franck Nijhof <frenck@frenck.nl>