diff --git a/sensors/sensors.yaml b/sensors/sensors.yaml index dc8738f..0b1d807 100644 --- a/sensors/sensors.yaml +++ b/sensors/sensors.yaml @@ -21,7 +21,6 @@ - platform: command_line command: 'curl -s -m 20 -H "Content-Type: application/json" -X GET cypher/matemeter/api.php' name: remaining_bottles - json_attributes: - - remaining_bottles + value_json: "{{value_json.remaining_bottles}}" scan_interval: 20 command_timeout: 30