I am using the new Thermostat card to control my Aqara TRVs (using Z2m). As mentioned in this thread (https://community.home-assistant.io/t/new-thermostat-card-preset-icons/652861/12), the preset mode icons don't always make sense.
Is there any way to change them. The feature request conversation says it's "up to the integration" to do that. But which integration is that, would that be Z2M in this case, or something else?
#Icons for Climate Presets
1 messages · Page 1 of 1 (latest)
I guess it would be MQTT which is responsible for it. But it doesn't seem to have anything, and so falls back to the default climate icons.
No there's not currently any way to change it as an end user.
I'm happy to dig into some custom code to do it though, just have no idea where to start. I can't figure out where the icon is coming from (or not coming from)
This for example is from icons.json in homeassistant/components/climate/:
"preset_mode": {
"default": "mdi:circle-medium",
"state": {
"activity": "mdi:motion-sensor",
"away": "mdi:account-arrow-right",
"boost": "mdi:rocket-launch",
"comfort": "mdi:sofa",
"eco": "mdi:leaf",
"home": "mdi:home",
"sleep": "mdi:bed"
}
},
I imagine those are what you are seeing?
Oh, I could try editing something there...
From my memory, if I copy the component folder into my custom_components folder, then it will override right?
I think that's right, but I've not tried customizing something so core as climate which other integrations are built on 🤷