@iStitch07 wrote:
Hey, all
I trying to setup multi-switch for my purifier, but have problems.
why it not working, help ))lr_mode_change: sequence: service: fan.set_speed data_template: entity_id: fan.livingroom_airpurifier speed: > {% if is_state("sensor.xiaomi_lr_airpurifier_mode", "auto") %} favorite {% elif is_state("sensor.xiaomi_lr_airpurifier_mode", "favorite") %} silent {% else %} auto {% endif %}
Posts: 17
Participants: 3