From 70af81cf6407385ba9a148c78f59696b22f3c3ca Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Tue, 13 Feb 2024 15:11:09 +0100 Subject: [PATCH] Set icons for switch without device class (#110470) --- homeassistant/components/switch/icons.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/switch/icons.json b/homeassistant/components/switch/icons.json index 00520914b9f..fbc1af5a126 100644 --- a/homeassistant/components/switch/icons.json +++ b/homeassistant/components/switch/icons.json @@ -1,7 +1,10 @@ { "entity_component": { "_": { - "default": "mdi:toggle-switch-variant" + "default": "mdi:toggle-switch-variant", + "state": { + "off": "mdi:toggle-switch-variant-off" + } }, "switch": { "default": "mdi:toggle-switch-variant",