Remove unneeded attributes from Airzone Binary Sensors (#70873)

This commit is contained in:
Álvaro Fernández Rojas 2022-04-27 14:22:49 +02:00 committed by GitHub
parent aeb88a8f6a
commit d999c110a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,5 +127,4 @@ class AirzoneZoneBinarySensor(AirzoneZoneEntity, AirzoneBinarySensor):
self._attr_unique_id = (
f"{self._attr_unique_id}_{system_zone_id}_{description.key}"
)
self.attributes = description.attributes
self.entity_description = description