How to escape '$' in a value_template?

Hi, the ‘$’ causes an issue in this value_template. The configuration doesn’t load. If I remove the ‘$’, no issues. Tried to escape with '' but no luck.

value_template: ‘{{ as_datetime(value_json.state.reported.$logotime.value[0]) }}’

The escapte tried was \

Try

value_json["state"]["reported"]["$logotime"]["value"][0])
1 Like

Great, that worked! Thank you! :beer::beer::beer: