Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - platform: rest
- resource: http://[192.168.0.9]/api/[q7GssOeS7SlAGyB4pbRs9i6q6-V3LpjEM41JfVaY]/sensors/[16]
- value_template: '{{ value_json.state.status }}'
- name: 'Hallway motion'
- - platform: rest
- resource: http://[192.168.0.9]/api/[q7GssOeS7SlAGyB4pbRs9i6q6-V3LpjEM41JfVaY]/sensors/[6]
- value_template: '{{ value_json.state.lightlevel }}'
- unit_of_measurement: Lux
- name: 'Hallway Lux'
- - platform: rest
- resource: http://[192.168.0.9]/api/[q7GssOeS7SlAGyB4pbRs9i6q6-V3LpjEM41JfVaY]/sensors/[4]
- value_template: '{{ value_json.state.temperature | float / 100 }}'
- unit_of_measurement: °C
- name: 'Hallway Temperature'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement