We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 861d817 commit 1b2d9b9Copy full SHA for 1b2d9b9
custom_components/growcube/binary_sensor.py
@@ -44,7 +44,7 @@ def __init__(self, coordinator: GrowcubeDataCoordinator):
44
self._attr_unique_id = f"{coordinator.data.device_id}_device_locked"
45
self.entity_id = f"{Platform.SENSOR}.{self._attr_unique_id}"
46
self._attr_name = f"Device locked"
47
- self._attr_device_class = BinarySensorDeviceClass.LOCK
+ self._attr_device_class = BinarySensorDeviceClass.PROBLEM
48
self._attr_entity_category = EntityCategory.DIAGNOSTIC
49
self._attr_native_value = coordinator.data.device_locked
50
0 commit comments