I’m using an alarm system (alarmo) in home assistant which reports which sensor caused the alarm to go off.
I’ve highlighted here in yellow where I can find the sensor.
So the key data I need is stored as an object in data.new_state.attributes.open_sensors and looks like this:
{“binary_sensor.inkom_pir_alarm”:“open”}
I obviously know how to get “open” and work with that. The problem is that the value I need is before the “:” and is part of what I guess I should call the path.
I’ve searched for hours how to get to this, but couldn’t find anything.
Could anybody give me a hint please?
Many thanks