Skip to content

Commit

Permalink
Fix sensor spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
bergdahl committed May 31, 2024
1 parent 4c8e737 commit e872809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/growcube/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def __init__(self, coordinator: GrowcubeDataCoordinator, channel: int) -> None:
self._channel = channel
self._attr_unique_id = f"{coordinator.data.device_id}_pump_" + self._channel_id[channel] + "_locked"
self.entity_id = f"{Platform.SENSOR}.{self._attr_unique_id}"
self._attr_name = f"Pump " + self._channel_name[channel] + "lock state"
self._attr_name = f"Pump " + self._channel_name[channel] + " lock state"
self._attr_device_class = BinarySensorDeviceClass.PROBLEM
self._attr_entity_category = EntityCategory.DIAGNOSTIC
self._attr_native_value = coordinator.data.pump_lock_state[self._channel]
Expand Down

0 comments on commit e872809

Please sign in to comment.