From 357840ec53c746e8deea26802a9a0d9d73226a94 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Fri, 1 Mar 2024 23:55:49 +0100 Subject: [PATCH] Add icon translations to Notion (#111984) --- homeassistant/components/notion/icons.json | 9 +++++++++ homeassistant/components/notion/sensor.py | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 homeassistant/components/notion/icons.json diff --git a/homeassistant/components/notion/icons.json b/homeassistant/components/notion/icons.json new file mode 100644 index 00000000000..63ea6ad2c18 --- /dev/null +++ b/homeassistant/components/notion/icons.json @@ -0,0 +1,9 @@ +{ + "entity": { + "sensor": { + "mold_risk": { + "default": "mdi:liquid-spot" + } + } + } +} diff --git a/homeassistant/components/notion/sensor.py b/homeassistant/components/notion/sensor.py index f5439895ac9..d42a7ea194d 100644 --- a/homeassistant/components/notion/sensor.py +++ b/homeassistant/components/notion/sensor.py @@ -28,7 +28,6 @@ SENSOR_DESCRIPTIONS = ( NotionSensorDescription( key=SENSOR_MOLD, translation_key="mold_risk", - icon="mdi:liquid-spot", listener_kind=ListenerKind.MOLD, ), NotionSensorDescription(