Browse Source

changing json attributes

master
Thomas 5 years ago
parent
commit
382844796c
Signed by: taschenbier
GPG Key ID: 306F574D34A9673B
  1. 4
      sensors/sensors.yaml

4
sensors/sensors.yaml

@ -22,5 +22,9 @@
command: "curl cypher/matemeter/api.php" command: "curl cypher/matemeter/api.php"
name: remaining_bottles name: remaining_bottles
value_template: "{{value_json.remaining_bottles}}" value_template: "{{value_json.remaining_bottles}}"
json_attributes:
- total_bottles_refilled
- total_bottles_sold
- remaining_bottles
scan_interval: 20 scan_interval: 20
command_timeout: 30 command_timeout: 30

Loading…
Cancel
Save