Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - platform: rest
- method: GET
- resource_template: http://mojdomek.eu/api/api2.php?id=TUTAJ_ID
- value_template: "{{ value_json.locations[0].measurement.percent }}"
- name: 'Poziom szamba'
- scan_interval: 1800
- unit_of_measurement: '%'
- - platform: rest
- method: GET
- resource_template: http://mojdomek.eu/api/api2.php?id=TUTAJ_ID
- value_template: "{{ value_json.locations[0].measurement.batt_level }}"
- name: 'Stan baterii'
- scan_interval: 1800
- unit_of_measurement: '%'
- - platform: rest
- method: GET
- resource_template: http://mojdomek.eu/api/api2.php?id=TUTAJ_ID
- value_template: "{{ value_json.locations[0].measurement.cm }}"
- name: 'Poziom szamba w cm'
- scan_interval: 1800
- unit_of_measurement: 'cm'
- - platform: rest
- method: GET
- resource_template: http://mojdomek.eu/api/api2.php?id=TUTAJ_ID
- value_template: "{{ value_json.locations[0].measurement.nextfull }}"
- name: 'Następne opróżnienie'
- scan_interval: 1800
- - platform: rest
- method: GET
- resource_template: http://mojdomek.eu/api/api2.php?id=TUTAJ_ID
- value_template: "{{ value_json.locations[0].measurement.lastempty }}"
- name: 'Ostatnie opróżnienie'
- scan_interval: 1800
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement