Hi there
I’m trying to get a ultrasonic level sensor to work with homeassistant and am failing with hacking everything into my configuration.yaml.
How should a working config.yaml look like?
The description of the API is found here: Proteus API
Looking forward to see any suggestions.
My current yaml looks like this:
rest:
resource: http://aes-gate-ecofrog.azurewebsites.net/Api/FuncDevice
method: POST
headers:
Content-Type: application/json
payload: '{ "DeviceRequest": {"Username": "xyz", "Email": "xyz", "SecurityStamp": "xyz", "DeviceID": "xyz" }}'
scan_interval: 60
sensor:
- name: "Oelstand"
value_template: "{{ value_json.ActualVolume}}"
json_attributes_path: "$.ActualVolume"
json_attributes:
- "ActualVolume"
1 post - 1 participant