fix: device and entity naming

This commit is contained in:
Richard Mann
2026-04-06 12:17:19 +10:00
parent 317b450702
commit 894580c20b
4 changed files with 185 additions and 190 deletions

View File

@@ -62,7 +62,7 @@ class PowerViewCover(PassiveBluetoothCoordinatorEntity[PVCoordinator], CoverEnti
) -> None:
"""Initialize the shade."""
LOGGER.debug("%s: init() PowerViewCover", coordinator.name)
self._attr_name = CoverDeviceClass.SHADE
self._attr_name = None
self._coord: PVCoordinator = coordinator
self._attr_device_info = self._coord.device_info
self._target_position: int | None = round(