Exploring State-Based Icons in ESPHome

Hey everyone, I came across something interesting in the ESPHome documentation about state-based icons for sensors and binary sensors. I’m curious if anyone has successfully implemented this feature. Here’s what I’m thinking: I have a mute button sensor set up, and I want it to display different icons depending on whether it’s muted or not. Currently, I have it set to show mdi:volume-high when it’s off, but I’d love to switch to mdi:volume-off when the mute button is pressed. Is there a way to achieve this dynamic icon change? I’ve looked into the documentation, but I’m not entirely sure how to proceed. Any tips or examples would be greatly appreciated! :headphones: