Browse Source

remove rest & commandline sensor

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

20
sensors/sensors.yaml

@ -17,23 +17,3 @@ @@ -17,23 +17,3 @@
- platform: command_line
name: Python Version
command: "python3 --version"
- platform: command_line
command: "curl cypher/matemeter/api.php"
name: remaining_bottles
value_template: "{{value_json.remaining_bottles}}"
json_attributes:
- total_bottles_refilled
- total_bottles_sold
- remaining_bottles
scan_interval: 20
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