* Add edl21 component for SML-based smart meters * edl21: Remove unused variable * [edl21] Add 1 minute throttle to the sensor * Update homeassistant/components/edl21/manifest.json Fix documentation URL Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io> * edl21: Move imports to top * edl21: Remove special case for STATE_UNKNOWN, which replicated default behavior * edl21: Implement blacklist for and warn about unhandled OBIS values * edl21: Make blacklist global * edl21: Add filter to issues URL Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io> * edl21: Rename device to entity * edl21: Don't schedule async_add_entities * edl21: Use dispatcher, implement own throttling mechanism * edl21: Simplify keeping track of known obis * edl21: Use whitelist for state attributes * edl21: Remove dispatcher on shutdown * edl21: Convert state attributes to snakecase * edl21: Annotate handle_telegram with @callback * edl21: Call async_write_ha_state instead of schedule_update_ha_state Co-authored-by: David Straub <straub@protonmail.com> Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
1 line
27 B
Python
1 line
27 B
Python
"""The edl21 component."""
|