Fix Comfoconnect errors during startup (#28802)
* Add callback registrations to async_added_to_hass * Fix CODEOWNERS * Fix code formatting * Requested changes. * Don't pass unused hass and fix string formatting * Fix import order.
This commit is contained in:
1 parent
0996b717ce
commit
d6e99db38e
5 files changed
+45
-34
No files matched your search
@@ -102,7 +102,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
|
||||
@@ -136,7 +135,3 @@ class ComfoConnectBridge:
|
||||
|
||||
# Notify listeners that we have received an update
|
||||
dispatcher_send(self.hass, SIGNAL_COMFOCONNECT_UPDATE_RECEIVED, var)
|
||||
|
||||
def subscribe_sensor(self, sensor_id):
|
||||
"""Subscribe for the specified sensor."""
|
||||
self.comfoconnect.register_sensor(sensor_id)
|
||||
Reference in new issue
Block a user