Sese-Schneider / ha-cover-time-based

Integration which allows cover control based on time.
MIT License
6 stars 7 forks source link
cover hacs-default home-assistant homeassistant tilt

Cover time based integration by @Sese-Schneider

A Home Assistant integration to control your cover based on time.

hacs_badge GitHub Release GitHub Downloads

License Project Maintenance GitHub Activity

This integration is based on davidramosweb/home-assistant-custom-components-cover-time-based.

It improves the original integration by adding tilt control.

Features:

To enable tilt control you need to add the tilting_time_down and tilting_time_up options to your configuration.yaml.

Install

HACS

This repo is available for install through the HACS.

or

Click here:

Setup

Example configuration.yaml entry

cover:
  - platform: cover_time_based
    devices:
      room_rolling_shutter:
       name: Room Rolling Shutter
       open_switch_entity_id: switch.wall_switch_right
       close_switch_entity_id: switch.wall_switch_left
       travelling_time_down: 23
       travelling_time_up: 25
       tilting_time_down: 2.3
       tilting_time_up: 2.7

Options

Name Type Requirement Description Default
name string Required Name of the created entity
open_switch_entity_id state entity Required Entity ID of the switch for opening the cover
close_switch_entity_id state entity Required Entity ID of the switch for closing the cover
stop_switch_entity_id state entity Optional Entity ID of the switch for stopping the cover None
travelling_time_down int Optional Time it takes in seconds to close the cover 30
travelling_time_up int Optional Time it takes in seconds to open the cover 30
tilting_time_down float Optional Time it takes in seconds to tilt the cover all the way down None
tilting_time_up float Optional Time it takes in seconds to tilt the cover all the way up None