I created three temperature sensors using RESTful Sensor platform. Homeassistant integration | LinksysInfo.org
- platform: rest
scan_interval: 60
name: '5G Temp'
resource: http://192.168.12.123/status-data.jsx
method: POST
payload: _http_id=dfsdnfsdnfsdklfnds
headers:
Content-Type: 'text/plain;charset=UTF-8'
Authorization: 'dfnsdjkfnsd=='
User-Agent: Home Assistant
value_template: '{{ value | regex_findall_index("eth2: 5G - (\d+)") | int }}'
state_class: measurement
device_class: temperature
unit_of_measurement: '°C'
But I don’t see any value or update in developer tools>states. I tried it in the template but got an error
UndefinedError: 'value' is undefined
added in configuration.yaml but don’t see any sensors being created.