From 7ef8e4920e0f6ad3f4cfd62790c8c21ae8bd6f4f Mon Sep 17 00:00:00 2001 From: Sam Redfern Date: Mon, 5 May 2025 22:27:42 +1000 Subject: [PATCH] Update SEN0590 sensor icon to use Material Design format --- components/sen0590/sensor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/sen0590/sensor.py b/components/sen0590/sensor.py index bc5daf3..6cd58c6 100644 --- a/components/sen0590/sensor.py +++ b/components/sen0590/sensor.py @@ -6,7 +6,6 @@ from esphome.const import ( DEVICE_CLASS_DISTANCE, STATE_CLASS_MEASUREMENT, UNIT_CENTIMETER, - ICON_ARROW_EXPAND_HORIZONTAL, ) DEPENDENCIES = ["i2c"] @@ -20,7 +19,7 @@ CONFIG_SCHEMA = ( sensor.sensor_schema( SEN0590Component, unit_of_measurement=UNIT_CENTIMETER, - icon=ICON_ARROW_EXPAND_HORIZONTAL, + icon="mdi:arrow-expand-horizontal", accuracy_decimals=1, device_class=DEVICE_CLASS_DISTANCE, state_class=STATE_CLASS_MEASUREMENT,