From 96031b40e83f2de8b1dd7f07c16a2f1b07f8a582 Mon Sep 17 00:00:00 2001 From: blakadder Date: Tue, 12 Dec 2023 20:01:58 +0100 Subject: [PATCH] Change icons --- custom_components/growcube/binary_sensor.py | 6 +++--- custom_components/growcube/button.py | 2 +- custom_components/growcube/sensor.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/custom_components/growcube/binary_sensor.py b/custom_components/growcube/binary_sensor.py index 0e2c163..a13c582 100644 --- a/custom_components/growcube/binary_sensor.py +++ b/custom_components/growcube/binary_sensor.py @@ -80,7 +80,7 @@ def icon(self): if self.is_on: return "mdi:water-alert" else: - return "mdi:water" + return "mdi:water-check" @property def is_on(self): @@ -162,9 +162,9 @@ def device_info(self) -> DeviceInfo | None: @property def icon(self): if self.is_on: - return "mdi:pump-off" + return "mdi:thermometer-probe-off" else: - return "mdi:pump" + return "mdi:thermometer-probe" @property def is_on(self): diff --git a/custom_components/growcube/button.py b/custom_components/growcube/button.py index 42df417..4d8e17c 100644 --- a/custom_components/growcube/button.py +++ b/custom_components/growcube/button.py @@ -34,7 +34,7 @@ def device_info(self) -> DeviceInfo | None: @property def icon(self): - return "mdi:water-pump" + return "mdi:watering-can" async def async_press(self): await self._coordinator.water_plant(self._channel) \ No newline at end of file diff --git a/custom_components/growcube/sensor.py b/custom_components/growcube/sensor.py index 11eeb6c..03804f5 100644 --- a/custom_components/growcube/sensor.py +++ b/custom_components/growcube/sensor.py @@ -102,7 +102,7 @@ def device_info(self) -> DeviceInfo | None: @property def icon(self): - return "mdi:waves" + return "mdi:cup-water" @callback def _handle_coordinator_update(self) -> None: