@vannooo wrote:
Hi,
Help me. Why brightness is not work in this code:
command_on_template: > {% if brightness is defined %} {{ "BRI" + brightness }} {% else %} {% if effect is defined %} {{ "EFF" + effect }} {% else %} {% if state is defined %} {{ "P_ON" }} {% endif %} {% endif %} {% endif %}
Effect and power on works correctly.
Posts: 4
Participants: 2