From 99c1912ccd52430bea4ed03b0bb1d65e5142fbaa Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Tue, 27 Feb 2024 22:49:59 +0100 Subject: [PATCH] Add icon translations to Goalzero (#111630) --- homeassistant/components/goalzero/binary_sensor.py | 1 - homeassistant/components/goalzero/icons.json | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 homeassistant/components/goalzero/icons.json diff --git a/homeassistant/components/goalzero/binary_sensor.py b/homeassistant/components/goalzero/binary_sensor.py index 6d53628f21e..9464067d426 100644 --- a/homeassistant/components/goalzero/binary_sensor.py +++ b/homeassistant/components/goalzero/binary_sensor.py @@ -22,7 +22,6 @@ BINARY_SENSOR_TYPES: tuple[BinarySensorEntityDescription, ...] = ( BinarySensorEntityDescription( key="backlight", translation_key="backlight", - icon="mdi:clock-digital", ), BinarySensorEntityDescription( key="app_online", diff --git a/homeassistant/components/goalzero/icons.json b/homeassistant/components/goalzero/icons.json new file mode 100644 index 00000000000..0bb8b416209 --- /dev/null +++ b/homeassistant/components/goalzero/icons.json @@ -0,0 +1,9 @@ +{ + "entity": { + "binary_sensor": { + "backlight": { + "default": "mdi:clock-digital" + } + } + } +}