Nested states templating

Hi all!!

I was trying to make a template to access my AVR data, but somehow attributes are organized a way I can’t read them:

The attributes in green boxes are accesible by “{{ state_attr(‘media_player.av_salon’,‘source’) }}” for example for the source, but how can I access the “format” or “input_channels” attributes that are nested to “audio_information” attribute?


These sub-attributes should be accessible like this:

{{ state_attr(‘media_player.av_salon’,‘audio_information’).format }}

Solved!!! thanks a lot!!!