Browse Source

fix json value

master
Thomas 5 years ago
parent
commit
6fcdfea681
Signed by: taschenbier
GPG Key ID: 306F574D34A9673B
  1. 3
      sensors/sensors.yaml

3
sensors/sensors.yaml

@ -21,7 +21,6 @@
- platform: command_line - platform: command_line
command: 'curl -s -m 20 -H "Content-Type: application/json" -X GET cypher/matemeter/api.php' command: 'curl -s -m 20 -H "Content-Type: application/json" -X GET cypher/matemeter/api.php'
name: remaining_bottles name: remaining_bottles
json_attributes: value_json: "{{value_json.remaining_bottles}}"
- remaining_bottles
scan_interval: 20 scan_interval: 20
command_timeout: 30 command_timeout: 30

Loading…
Cancel
Save