@ -17,3 +17,12 @@
- platform: command_line
name: Python Version
command: "python3 --version"
command: 'curl -s -m 20 -H "Content-Type: application/json" -X GET cypher/matemeter/api.php'
name: remaining_bottles
json_attributes:
- remaining_bottles
value_template: "{{ value_json.remaining_bottles |int }}"
scan_interval: 20
command_timeout: 30