Home Assistant — Smart Blind Setup & Automation

Hardware

DeviceDetails
Home Assistant GreenBuilt-in Silicon Labs MGM210P Zigbee/Thread radio
Smartwings blindZigbee motorized roller blind
IntegrationZHA (Zigbee Home Automation) — built into HA, no extra software needed

Step 1: Enable ZHA and Pair the Blind

  1. In Home Assistant, go to Settings → Devices & Services
  2. Click + Add Integration and search for Zigbee Home Automation (ZHA)
  3. HA will detect the built-in radio automatically — select it and confirm
  4. Once ZHA is running, click Add Device to open a 60-second pairing window
  5. Put the Smartwings blind into pairing mode:
    • Press and hold the reset/pair button on the blind motor until the LED flashes (refer to Smartwings manual for exact button location — typically 5 seconds)
  6. HA will discover the blind and add it as a Cover device
  7. Give it a friendly name (e.g., Bedroom Blind or Living Room Blind)

Step 2: Find Your Entity ID

After pairing, HA assigns an entity ID to the blind. You need this for the automation.

  1. Go to Settings → Devices & Services → ZHA → your blind device
  2. Look for the entity listed under Controls — it will be something like:
    • cover.smartwings_blind
    • cover.bedroom_blind
    • cover.living_room_blind
  3. Note this ID exactly — replace cover.smartwings_blind in the automation below with your actual entity ID

You can also find it at Settings → Entities and search for your blind name.


Step 3: Test Manual Control

Before setting up automation, confirm the blind responds:

  1. Go to Developer Tools → Actions (formerly Services)
  2. Search for cover.set_cover_position
  3. Set target entity to your blind’s entity ID
  4. Set position to 50 and click Perform Action
  5. The blind should move to 50% open — if it does, you’re ready

Position scale in HA: 100 = fully open, 0 = fully closed. So “30% down” = position 70.


Step 4: Create the Automation

Option A — Via the UI

  1. Go to Settings → Automations & Scenes → + Create Automation → Create new automation
  2. Add 4 triggers (all type: Time):
    • 22:00 — label it ten_pm
    • 23:00 — label it eleven_pm
    • 00:00 — label it midnight
    • 07:00 — label it morning
  3. Skip conditions
  4. Add a Choose action with 4 branches, one per trigger:
TriggerConditionAction
ten_pmTrigger ID = ten_pmSet cover position → 70
eleven_pmTrigger ID = eleven_pmSet cover position → 50
midnightTrigger ID = midnightSet cover position → 5
morningTrigger ID = morningSet cover position → 100
  1. Save and name it something like Blinds Evening Schedule

Option B — YAML (paste directly into automations.yaml)

alias: Blinds Evening Schedule
description: Gradually close blinds through the evening, open fully in the morning
triggers:
  - trigger: time
    at: "22:00:00"
    id: ten_pm
  - trigger: time
    at: "23:00:00"
    id: eleven_pm
  - trigger: time
    at: "00:00:00"
    id: midnight
  - trigger: time
    at: "07:00:00"
    id: morning
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id: ten_pm
        sequence:
          - action: cover.set_cover_position
            target:
              entity_id: cover.smartwings_blind
            data:
              position: 70
      - conditions:
          - condition: trigger
            id: eleven_pm
        sequence:
          - action: cover.set_cover_position
            target:
              entity_id: cover.smartwings_blind
            data:
              position: 50
      - conditions:
          - condition: trigger
            id: midnight
        sequence:
          - action: cover.set_cover_position
            target:
              entity_id: cover.smartwings_blind
            data:
              position: 5
      - conditions:
          - condition: trigger
            id: morning
        sequence:
          - action: cover.set_cover_position
            target:
              entity_id: cover.smartwings_blind
            data:
              position: 100
mode: single

Replace cover.smartwings_blind with your actual entity ID from Step 2.

To paste YAML:

  1. Go to Settings → Automations & Scenes
  2. Click + Create Automation → Create new automation
  3. Click the three-dot menu (top right) → Edit in YAML
  4. Paste the block above, update the entity ID, and save

Position Reference

GoalPosition Value
Fully open100
30% down (10 PM)70
50% down (11 PM)50
95% down (midnight)5
Fully closed0

Checklist

  • ZHA integration enabled
  • Blind paired and showing in HA
  • Entity ID confirmed (replace placeholder in automation)
  • Manual control tested via Developer Tools
  • Automation created and enabled
  • Tested by temporarily changing a trigger time to 1 minute from now

0 items under this folder.