mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Some Minor Fixes including the seconds bug.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
###################################
|
||||
## Garadget Stuff - [Garadget](http://amzn.to/2jQLpVQ) - Garage Door opener/sensor
|
||||
##
|
||||
##
|
||||
###################################
|
||||
|
||||
- alias: Garadget Reflection Rates
|
||||
@@ -14,20 +14,20 @@
|
||||
entity_id: sensor.small_garage_reflection_rate
|
||||
below: 85
|
||||
# for: '00:05:00'
|
||||
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: "{{ states('cover.large_garage') == 'closed' }}"
|
||||
- condition: template
|
||||
value_template: "{{ states('cover.small_garage') == 'closed' }}"
|
||||
|
||||
|
||||
action:
|
||||
- service: script.ifttt_notify
|
||||
data_template:
|
||||
value1: 'Check Garage Doors Reflection:'
|
||||
value2: "Small: {{ states('sensor.small_garage_reflection_rate')}}"
|
||||
value3: "Large: {{ states('sensor.large_garage_reflection_rate')}}"
|
||||
|
||||
|
||||
##############################################################################
|
||||
|
||||
- alias: Is the Garage door Open at night - Checks every 60 minutes or 5 minutes after we drive away.
|
||||
@@ -35,9 +35,10 @@
|
||||
trigger:
|
||||
- platform: time
|
||||
minutes: '/60'
|
||||
seconds: '00'
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
state: not_home
|
||||
state: not_home
|
||||
for: 00:05:00
|
||||
|
||||
condition:
|
||||
@@ -47,7 +48,7 @@
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: not_home
|
||||
state: not_home
|
||||
for: 00:05:00
|
||||
- condition: or
|
||||
conditions:
|
||||
@@ -64,16 +65,15 @@
|
||||
- condition: template
|
||||
value_template: "{{ states('cover.large_garage') == 'opened' }}"
|
||||
- condition: template
|
||||
value_template: "{{ states('cover.small_garage') == 'opened'}}"
|
||||
|
||||
value_template: "{{ states('cover.small_garage') == 'opened'}}"
|
||||
|
||||
action:
|
||||
- service: script.ifttt_notify
|
||||
data_template:
|
||||
value1: 'Check Garage Doors:'
|
||||
value2: "Small: {{ states('cover.small_garage')}}"
|
||||
value3: "Large: {{ states('cover.large_garage')}}"
|
||||
|
||||
|
||||
- service: script.Voice_notify
|
||||
data_template:
|
||||
value1: "Please check the garage doors. The Small garage is {{ states('cover.small_garage')}} and the large garage is {{ states('cover.large_garage')}}"
|
||||
|
||||
@@ -34,10 +34,11 @@
|
||||
state: 'off'
|
||||
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.tv_time
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.tv_time
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.tv_time
|
||||
|
||||
|
||||
######################################################################
|
||||
## Turn off the Living room lights when the TV is turned off.
|
||||
|
||||
Reference in New Issue
Block a user