From 5aa5bc406c51403e7c7f01e29739fa2ee4915d61 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Tue, 27 Feb 2024 22:28:53 +0100 Subject: [PATCH] Add icon translations to Google Mail (#111660) --- homeassistant/components/google_mail/icons.json | 5 +++++ homeassistant/components/google_mail/sensor.py | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 homeassistant/components/google_mail/icons.json diff --git a/homeassistant/components/google_mail/icons.json b/homeassistant/components/google_mail/icons.json new file mode 100644 index 00000000000..599ccffe3c7 --- /dev/null +++ b/homeassistant/components/google_mail/icons.json @@ -0,0 +1,5 @@ +{ + "services": { + "set_vacation": "mdi:beach" + } +} diff --git a/homeassistant/components/google_mail/sensor.py b/homeassistant/components/google_mail/sensor.py index dc1ee33c16e..78b0e3c9a91 100644 --- a/homeassistant/components/google_mail/sensor.py +++ b/homeassistant/components/google_mail/sensor.py @@ -22,7 +22,6 @@ SCAN_INTERVAL = timedelta(minutes=15) SENSOR_TYPE = SensorEntityDescription( key="vacation_end_date", translation_key="vacation_end_date", - icon="mdi:clock", device_class=SensorDeviceClass.TIMESTAMP, )