switches between 2 states if off show play Icon and if on show pause Icon. I put a switch on the Dasboard with a play Icon and it toggles play/pause but does not switch Icons for play/pause. Is there a solution?
The simplest way is to edit the template of the device class at the dashboard, but it will be a problem of you have other switches at the same dashboard.
The other way is to use the app Tile Builder, available at HPM - I use this way.
coincidentally, I just looked at adding a music player.
I guess you want just a simple switch.
That'd be custom, I suppose, as stated.

Yea I got that to work. Is there a way to hide the device name? Thanks