I’m using an Entity Button card to set my pool/spa switches. Is there any way to show the current state as well?
The reason is, my pool runs on its own automation system (turning on the pool at noon). If I don’t use HA to turn on the pool, then the switch state in lovelace shows as off. The two switches below are command line switches that call a curl/RESTful command.
- type: horizontal-stack cards: - type: entity-button entity: switch.pool_switch name: Pool icon: mdi:swim tap_action: toggle - type: entity-button entity: switch.spa_switch name: Spa icon: mdi:fire tap_action: toggle
In the image below, the pool pump is on, but since I didn’t turn it on with HA, it shows as off.