Hi all.
I have followed a tutorial to create my own floor plan dashboard and it is working fine but I am wanting to add more to it.
I currently have all lights and lamps as well as all security cameras on there.
I am wanting to add my eufy robovac. I have the vac in HA already so I just need to know the structure for the code.
I have tried to find this on here and a google search but I am at a loss and not sure what to do.
I just want to have an icon on my floor plan dashboard, which I press and the vac will set off cleaning. Below is the coding I have for the lights turn on/off and I hoped I could just modify that but alas, it is not to be.
- type: state-icon
entity: light.lamp
tap_action:
action: toggle
style:
left: 60%
top: 15%
'--mdc-icon-size': 15px
'--paper-item-icon-color': white