Hello. I am trying to rewrite the below as stated in the templating to avoid using .state
or is this ok??
{{ states.weather.weatherbit.attributes.forecast[0].temperature }}
Hello. I am trying to rewrite the below as stated in the templating to avoid using .state
or is this ok??
{{ states.weather.weatherbit.attributes.forecast[0].temperature }}
{{ state_attr('weather.weatherbit', 'forecast')[0].temperature }}