Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
cover:
- platform: opengarage
covers:
garage:
host: !secret garage_hostname
device_key: !secret garage_devicekey
name: Garage Door
# for showing on a state card
binary_sensor:
- platform: template
sensors:
garage_door:
friendly_name: Garage Door
value_template: '{{ states.cover.garage_door.attributes["door_state"] == "open" }}'
automation:
- alias: "Garage Door Open"
trigger:
- platform: time
at: '20:30:00'
condition:
condition: state
entity_id: binary_sensor.garage_door
state: "on"
for:
minutes: 5
action:
- service: notify.phones
data:
message: "Don't forget to close the garage door!"
homeassistant:
customize:
cover.garage_door:
device_class: garage
binary_sensor.garage_door:
device_class: opening