Skip to content

Integration which allows cover control based on time.

License

Notifications You must be signed in to change notification settings

Sese-Schneider/ha-cover-time-based

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • Control the height of your cover based on time.
  • Control the tilt of your cover based on time.

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.

  • Go to HACS → Integrations
  • Use the FAB "Explore and download repositories" to search "cover-time-based".

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