Add state_class
and use SensorEntityDescription
for comfoconnect (#54066)
* Add state_class=measurement and use SensorEntityDescriptions * Use attributes from entity_description * Improvements * Adress remarks * Revert changes to fan * move method * Fix tests * Revert fan/__init__.py * Revert key change * Set default percentage in turn_on
This commit is contained in:
parent
0ea5f25594
commit
5d3d6fa1cd
4 changed files with 255 additions and 254 deletions
|
@ -90,7 +90,6 @@ class ComfoConnectBridge:
|
|||
|
||||
def __init__(self, hass, bridge, name, token, friendly_name, pin):
|
||||
"""Initialize the ComfoConnect bridge."""
|
||||
self.data = {}
|
||||
self.name = name
|
||||
self.hass = hass
|
||||
self.unique_id = bridge.uuid.hex()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue