#Signal Rest Sensor not returning dictionary

1 messages · Page 1 of 1 (latest)

hoary urchin
#

Howdy I am trying to troubleshoot a warning in my log file.
[homeassistant.components.rest.sensor] JSON result was not a dictionary or list with 0th element a dictionary
I have added this to my config but I am not getting any additional info.
logger: default: info logs: homeassistant.components.rest.sensor: debug
Is there anything else that I can do to get more details on why I am gettting this warning?

#

The sensor config
`rest:

  • resource: !secret signal_resource
    headers:
    Content-Type: application/json
    sensor:
    • name: "Signal message received"
      value_template: "{{ value_json[0].envelope.dataMessage.message }}" #this will fetch the message
      json_attributes_path: $[0].envelope
      json_attributes:
      • source #source phone number attribute.`
#

How do see what the bad value is and how often I am trying to read it?