I’m trying to do some templating inside a card to load the images from my camera depending of the device.
If I login with an smartphone it should render the low quality stream, if a login on a PC it should load the HQ stream.
But it is not working, there is no errors but the card doesn’t load the stream:
I do not use this card, but are you sure it supports templating? Many cards accept statis parameters. From card documentation I can see that it hase (somehow limited?) support for JavaScript templates: New in v3.6.0.
Card options shortcuts, style and ptz supports JavaScript templates
In shortcuts and style you can use states related templates
In ptz you can use streamName/streamID related templates (useful for card with multiple templates)
Perhaps you could use custom:config-template-card to force templating of proper strems?