I tried a picture-glance and adding urls for my cams presets via the weblink component, but this opens a popup with the link in it. Not what I’m looking for.
I would really like to be able to change the icons to something that makes sense for my locale and simply have touching the icon send the url to move my cam to the PTZ preset.
Create command line scripts for your P T anz Z controls. Give them appropriate icons in the customization section. Put the scripts in the picture glance card and set the icon tap action to " call-service" for each icon.
Thanks for the reply!
I have tried to do this and am not having the desired result.
I am not very experienced with scripts and can’t figure how to make one call a url like I’m trying to do. So I got a rest_command that will successfully send the url and change the PTZ preset.
My issue is that it seems to keep doing this as all ways I have tried in the picture glance card use ON/OFF like it is a switch. So I can’t move it anywhere else as it keeps sending the command.
The other issue is that it still pops up another card which makes it worse than the weblink method I already had.
Any thoughts on how to add an entity that will just fire the url once and not look back so I don’t have an ON/OFF thing going on?
so it shows as “ON” but that doesn’t really matter much for my household.
In lovelace I did this config of the picture-glance so it just shows icons for each position: