Feature description
I have a smart plug configured as the Power switch. It's 'Show as' is the default Outlet and the icon is not manually overriden. When I switch it on, the icon should change according to its state, but it always statically indicates as a plug.
Use case / motivation
Consistency and better UX
On a related note, should the power plug entities just be Switch device_class anyways?
Affected device model(s)
No response
Additional context / screenshots
Claude says you just need to delete this one line in switch.py:
_attr_icon = "mdi:power-plug"
There are probably other entities which could/should be dynamic (e.g. Safety key).
Feature description
I have a smart plug configured as the Power switch. It's 'Show as' is the default Outlet and the icon is not manually overriden. When I switch it on, the icon should change according to its state, but it always statically indicates as a plug.
Use case / motivation
Consistency and better UX
On a related note, should the power plug entities just be Switch device_class anyways?
Affected device model(s)
No response
Additional context / screenshots
Claude says you just need to delete this one line in switch.py:
_attr_icon = "mdi:power-plug"There are probably other entities which could/should be dynamic (e.g. Safety key).