Add icon translations to Lyric (#111902)

Use default icon for Lyric
This commit is contained in:
Joost Lekkerkerker 2024-03-01 13:42:42 +01:00 committed by GitHub
parent 65e004dc99
commit 8bbfb6cc55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,12 @@
{
"entity": {
"sensor": {
"setpoint_status": {
"default": "mdi:thermostat"
}
}
},
"services": {
"set_hold_time": "mdi:timer-pause"
}
}

View File

@ -105,7 +105,6 @@ DEVICE_SENSORS: list[LyricSensorEntityDescription] = [
LyricSensorEntityDescription(
key="setpoint_status",
translation_key="setpoint_status",
icon="mdi:thermostat",
value_fn=lambda device: get_setpoint_status(
device.changeableValues.thermostatSetpointStatus,
device.changeableValues.nextPeriodTime,