@ -28,3 +28,12 @@
- 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