Revert "Revert "Bump pypck to 0.7.8"" (#44885)

This reverts commit 6de8824980.
This commit is contained in:
Franck Nijhof 2021-01-06 18:01:06 +01:00 committed by GitHub
parent 1a44a8a714
commit 92431049e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 36 additions and 20 deletions

View file

@ -63,8 +63,9 @@ class LcnClimate(LcnEntity, ClimateEntity):
async def async_added_to_hass(self):
"""Run when entity about to be added to hass."""
await super().async_added_to_hass()
await self.device_connection.activate_status_request_handler(self.variable)
await self.device_connection.activate_status_request_handler(self.setpoint)
if not self.device_connection.is_group:
await self.device_connection.activate_status_request_handler(self.variable)
await self.device_connection.activate_status_request_handler(self.setpoint)
@property
def supported_features(self):