Covers
Home Assistant can give you an interface to control covers such as rollershutters, blinds, and garage doors.
The display style of each entity can be modified in the customize section. The following device classes are supported for covers:
- None: Generic cover device
- window: Window controller
- garage: Garage door controller
Services
Cover control services
Available services: cover.open_cover
, cover.close_cover
, cover.stop_cover
, cover.open_cover_tilt
, cover.close_cover_tilt
, cover.stop_cover_tilt
Service data attribute | Optional | Description |
---|---|---|
entity_id |
yes | String or list of strings that point at entity_id ’s of covers. Else targets all. |
Service cover.set_cover_position
Set cover position of one or multiple covers.
Service data attribute | Optional | Description |
---|---|---|
entity_id |
yes | String or list of strings that point at entity_id ’s of covers. Else targets all. |
position |
no | Integer between 0 and 100. |
Automation example
automation:
trigger:
platform: time
after: "07:15:00"
action:
- service: cover.set_cover_position
data:
entity_id: cover.demo
position: 50
Service cover.set_cover_tilt_position
Set cover tilt position of one or multiple covers.
Service data attribute | Optional | Description |
---|---|---|
entity_id |
yes | String or list of strings that point at entity_id ’s of covers. Else targets all. |
position |
no | Integer between 0 and 100. |
Automation example
automation:
trigger:
platform: time
after: "07:15:00"
action:
- service: cover.set_cover_tilt_position
data:
entity_id: cover.demo
position: 50