After upgrading to Home Assistant 0.117.0, I noticed that some of my REST sensors …that parse more than 1 JSON key, produce an Unavailable
state. All my other REST sensors don’t have any issues. I looked at 0.117.0’s Breaking Changes, however, I couldn’t tell which changes introduced the issue.
I already created an issue 42608 on GitHub… however, I thought maybe someone here might be able to shed some light on this issue in the meantime.
REST Sensor that works:
- platform: rest
resource: http://192.168.1.2:61208/api/3/mem
name: Horizon RAM
value_template: '{{ value_json.percent | round }}'
unit_of_measurement: "%"
verify_ssl: false
timeout: 30
scan_interval: 16
REST Sensor that produces an Unavailable state …with respective “failed with `[Errno 111] Connect call failed” errors in log):
- platform: rest
resource: http://192.168.1.2:61208/api/3/fs
name: Horizon E Drive Used
value_template: '{{ value_json[1].percent | round }}'
unit_of_measurement: "%"
verify_ssl: false
timeout: 30
scan_interval: 16
- platform: rest