#Manually run script to turn light on/off
1 messages · Page 1 of 1 (latest)
Can you explain why you want to run a python script instead of using device states in HA?
And what's your intended trigger to run it manually? Something on a dashboard?
well I have an anki vector
I’m trying to add a custom command via wirepod to turn my light on or off
And my tiny brain came up with the idea to have a custom intent that runs a script telling HA to turn the lights on or off
Oh, so from external trigger a script on HA via an API?
there's webhooks you can add and call https://www.home-assistant.io/docs/automation/trigger/#webhook-trigger