How to use Switching Virtual Desktop with a button in Home assistant
There is no help available or a how to make this work, i have two entity's in Home assistant a Button and a Entity /Sensors that present me de ID's of the Virtual Desktops created, but how can i switch between the ID's or virtual desktops with the button? Anybody van help me with this? Thank you.
Solution
okay so step 1 is to create an
ActiveDesktop
ActiveDesktop
sensor and a
SwitchDesktop
SwitchDesktop
Command 2. open the activedesktop entity in homeassistant and switch to the blue iris desktop for about 15s 3. Copy the ID and mqtt publish it to the switchdesktop command topic in the script