Hello all
Ive created a helper button called “input_button.camera_saloon_movement”
I am able to do GET on it and receive the last activation time:
curl
-H “Authorization: Bearer ”
-H “Content-Type: application/json”
http://xxxxx:8123/api/states/input_button.camera_saloon_movement
But im unable to do “click” on it with POST, although i get response code 200:
curl -v -X POST
-H “Authorization: Bearer ”
-H “Content-Type: application/json”
-d ‘{“entity_id”: “input_button.camera_saloon_movement”}’
http://xxxxx:8123/api/services/button/press
I check in both UI and with REST API and button last trigger time does not update
from UI I can click on the helper button and of course it updates the last trigger time
any idea why?
Also note for state type helpers I’m able todo GET/POST w/o problems.