Horizontal Blinds Automation


Now all we have to do is configure Home Assistant to learn about our new hardware so it can control it. We’ll be using the MQTT Cover component. I had to modify the code for this component and it’s waiting to be included in the next release

  - platform: mqtt
    name: "Living Room 0"
    command_topic: "livingRoom0/onOff"
    tilt_command_topic: "livingRoom0/tilt"
    tilt_status_topic: "livingRoom0/status"
    tilt_closed_value: 180
    tilt_opened_value: 80
    device_class: 'window'
    tilt_max: 180
    tilt_min: 80
    tilt_invert_state: True

After restarting Home Assistant you should see the cover component and if you click on it you’ll see the tilt controls