How can you test what string or output is being received from the command_state CURL?
I tried various syntax options and my command line switch is not updating the correct state.
light205:
friendly_name: "Utility wall lights"
command_on: /usr/bin/curl -X POST 'http://192.168.1.3/luminaries.php?light=205&state=1'
command_off: /usr/bin/curl -X POST 'http://192.168.1.3/luminaries.php?light=205&state=15'
command_state: curl http://192.168.1.3/hass/binary.php
if I check with SSH I do get back 1 or 0 corresponding to off and on, but the state of the switch isn’t correctly changing