Browse Source

matemeter via rest

master
Thomas 5 years ago
parent
commit
0a0f8ecfd6
Signed by: taschenbier
GPG Key ID: 306F574D34A9673B
  1. 9
      sensors/sensors.yaml

9
sensors/sensors.yaml

@ -28,3 +28,12 @@
- remaining_bottles - remaining_bottles
scan_interval: 20 scan_interval: 20
command_timeout: 30 command_timeout: 30
- platform: rest
name: matemeter
resource: http://cypher/matemeter/api.php
value_template: "{{value_json.remaining_bottles}}"
json_attributes:
- total_bottles_refilled
- total_bottles_sold
- remaining_bottles

Loading…
Cancel
Save