Papouch simple I/O blueprint

This simple blueprint allows you to synchronize a Quido binary sensor input with a Quido switch output.

How it works:
Uses 1 binary sensor input that controls 1 switch. When the input turns ON, the switch turns ON. When the input turns OFF, the switch turns OFF.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Blueprint Code

blueprint:
  name: Papouch simple blueprint for Quido
  description: Turn the switch ON when input returns ON
  domain: automation
  input:
    binary_sensor:
      name: Binary sensor of a Quido
      description: Use a input of a Quido
      selector:
        entity:
          domain: binary_sensor

    switch:
      name: Switch of a Quido
      description: Use a output of a Quido
      selector:
        entity:
          domain: switch

triggers:
  - trigger: state
    entity_id: !input binary_sensor

actions:
  - action: >
      {% if trigger.to_state.state == "on" %}
        switch.turn_on
      {% else %}
        switch.turn_off
      {% endif %}
    target:
      entity_id: !input switch