Hi
I was wondering for the below code how would format so it compatible with hassio?
data_template:
volume_level: >
{% if now().strftime("%H")|int < 12 and now().strftime("%H")|int > 6%}
0.50
{% elif now().strftime("%H")|int > 12 and now().strftime("%H")|int < 17%}
0.65
{% else %}
0.50
{% endif %}