How to get state of a sensor with siri shortcuts?

Hello!
What is the easiest way to query a status with an iOS shortcut? Is it only possible with a webhook? through the official app on the device you can call services and actions, but not a simple status?

Thank you

2 Likes

Use the “render template” shortcut offered by the app. It can use any Jinja template.

1 Like

Good afternoon,
I am struggling with this, do you have a screenshot of the set up shortcut at all?
Many thanks.

3 Likes

Thankyou, thats great, works perfectly for me :smiley:

Hey guys. Pretty old topic, I know. However, thanks for hints. Now it is working for me but I have a question - how can I increase the quality of pulled picture/snapshot? It is poor quality no matter what the setting of camera is. Thank you!