Have been reading this today: Tutorial adding HUE Motion sensor (Lux,Temp and Motion)
lots of good info, but, when I paste in the result:
sensor:
- platform: rest
resource: http://192.168.7.138/api/[my API key omitted]/sensors/6
value_template: ‘{{ value_json.state.presence }}’
scan_interval: 2
name: ‘Kitchen Motion Binary’
it won’t allow HAAS to startup. Nothing in the log either. Does this look right, the check config command reports all is OK.