Remove unused variable from rainbird (#99824)

This commit is contained in:
Joost Lekkerkerker 2023-09-07 15:32:03 +02:00 committed by GitHub
parent 0d6f202eb3
commit 526b587170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,6 @@ class RainBirdSwitch(CoordinatorEntity[RainbirdUpdateCoordinator], SwitchEntity)
else:
self._attr_name = None
self._attr_has_entity_name = True
self._state = None
self._duration_minutes = duration_minutes
self._attr_unique_id = f"{coordinator.serial_number}-{zone}"
self._attr_device_info = DeviceInfo(