Use device class naming for SimpliSafe (#96093)

This commit is contained in:
Joost Lekkerkerker 2023-07-08 01:42:19 +02:00 committed by GitHub
parent 7f184e05e3
commit a0d54e8f4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View file

@ -111,7 +111,6 @@ class BatteryBinarySensor(SimpliSafeEntity, BinarySensorEntity):
"""Initialize."""
super().__init__(simplisafe, system, device=device)
self._attr_name = "Battery"
self._attr_unique_id = f"{super().unique_id}-battery"
self._device: DeviceV3