Please format your code. Given the way it currently appears, it’s difficult understand how you’ve configured sensor.json_climaxalarm. For example, its value_template does not have the correct indentation nor do the options for the Template Sensor.
If the URL returns the data that you posted above, why does the value_template append climaxalarm to value_json? There’s no key in the data called climaxalarm.
When you post unformatted code, this forum’s software pops up a message explaining it has noticed you are posting unformatted code and makes suggestions how to format it. Did you simply dismiss this pop-up message?
There’s an icon in the forum’s editing menu that looks like this: </>
It’s purpose is to format code.
The forum’s editor understands markdown formatting. The markdown way to format code is to enter three backquotes ``` on a separate line before your code and another three, on a separate line, after your code.
I don’t understand what you mean by ‘updates’.
I was referring to the fact that the value_template for sensor.json_climaxalarm, namely this one:
{{ value_json.climaxalarm }}
refers to a key in the received data called climaxalarm. However, based on the data you posted above, it has no key called climaxalarm. So either it’s a mistake to refer to this key or the data you posted isn’t what is received by the sensor.
I asked you a question about something you entered in the configuration and, instead of explaining why you did it you say “I get that part”. How am I supposed to interpret that non-answer?
If you change the value_template to:
'{{ value_json.updates }}'
It will attempt to read all the data into the sensor’s state and fail. That’s because state can only hold a maximum of 255 characters and your data exceeds that.
OK, bottomline:
I want the value of mode_a1. How would I get that value?
I really appreciate the help here, but I’m struggling to interpret what you want from me?! I’m beginning to learn this templating and it seems like I’m missing something?!
I get the part about that I cannot use climaxalarm… That’s all.