Fix multi inheritance with CoordinatorEntity (#85053)

This commit is contained in:
Marc Mueller 2023-01-03 23:07:59 +01:00 committed by GitHub
parent 6718b40181
commit 516cb31635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View file

@ -90,7 +90,7 @@ class BSBLANClimate(
) -> None:
"""Initialize BSBLAN climate device."""
super().__init__(client, device, info, static, entry)
super(CoordinatorEntity, self).__init__(coordinator)
CoordinatorEntity.__init__(self, coordinator)
self._attr_unique_id = f"{format_mac(device.MAC)}-climate"
self._attr_min_temp = float(static.min_temp.value)