Closes #77 - Made the names much more readable. Garadget is not a good thing to say.

This commit is contained in:
CCOSTAN
2017-02-22 22:37:15 +00:00
parent a4d7fcbf16
commit 3786bd139c
13 changed files with 83 additions and 83 deletions

View File

@@ -6,16 +6,16 @@
trigger:
- platform: state
entity_id:
- cover.garadget_large
- cover.garadget_small
- cover.large_garage
- cover.small_garage
from: 'closed'
to: 'open'
for: '00:02:00'
- platform: state
entity_id:
- cover.garadget_large
- cover.garadget_small
- cover.large_garage
- cover.small_garage
from: 'open'
to: 'closed'
for: '00:02:00'

View File

@@ -36,11 +36,11 @@
{%- endmacro -%}
{{responsibilities()}}
Inside the house, it is {{ states.climate.downstairs.attributes["current_temperature"]}} degrees with around {{states('sensor.downstairs_thermostat_humidity')}} percent humidity. Outside, it is going to be {{states('sensor.dark_sky_minutely_summary')}}
{% if is_state('cover.garadget_large', 'open') -%}
{% if is_state('cover.large_garage', 'open') -%}
Also, The Large Garage Door is still open
{% endif -%}
{% if is_state('cover.garadget_small', 'open') -%}
{% if is_state('cover.garadget_large', 'open') -%}and
{% if is_state('cover.small_garage', 'open') -%}
{% if is_state('cover.large_garage', 'open') -%}and
{%- endif %} The small Garage Door is still open.
{% endif %}
. There are

View File

@@ -22,8 +22,8 @@
- sensor.nest_downstairs
- sensor.cisco_ap
- sensor.actiontechap
- sensor.garadget_small
- sensor.garadget_large
- sensor.small_garage
- sensor.large_garage
- sensor.led_rgb_garage_left
- sensor.led_rgb_garage_small
- sensor.led_rgb_outdoor_den

View File

@@ -7,26 +7,26 @@
hide_entity: True
trigger:
- platform: numeric_state
entity_id: sensor.garadget_large_reflection_rate
entity_id: sensor.large_garage_reflection_rate
below: 85
# for: '00:05:00'
- platform: numeric_state
entity_id: sensor.garadget_small_reflection_rate
entity_id: sensor.small_garage_reflection_rate
below: 85
# for: '00:05:00'
condition:
- condition: template
value_template: "{{ states('cover.garadget_large') == 'closed' }}"
value_template: "{{ states('cover.large_garage') == 'closed' }}"
- condition: template
value_template: "{{ states('cover.garadget_small') == 'closed' }}"
value_template: "{{ states('cover.small_garage') == 'closed' }}"
action:
- service: script.ifttt_notify
data_template:
value1: 'Check Garage Doors Reflection:'
value2: "Small: {{ states('sensor.garadget_small_reflection_rate')}}"
value3: "Large: {{ states('sensor.garadget_large_reflection_rate')}}"
value2: "Small: {{ states('sensor.small_garage_reflection_rate')}}"
value3: "Large: {{ states('sensor.large_garage_reflection_rate')}}"
##############################################################################
@@ -52,9 +52,9 @@
- condition: or
conditions:
- condition: template
value_template: "{{ states('cover.garadget_large') == 'opened' }}"
value_template: "{{ states('cover.large_garage') == 'opened' }}"
- condition: template
value_template: "{{ states('cover.garadget_small') == 'opened' }}"
value_template: "{{ states('cover.small_garage') == 'opened' }}"
- condition: and
conditions:
- condition: sun
@@ -62,18 +62,18 @@
- condition: or
conditions:
- condition: template
value_template: "{{ states('cover.garadget_large') == 'opened' }}"
value_template: "{{ states('cover.large_garage') == 'opened' }}"
- condition: template
value_template: "{{ states('cover.garadget_small') == 'opened'}}"
value_template: "{{ states('cover.small_garage') == 'opened'}}"
action:
- service: script.ifttt_notify
data_template:
value1: 'Check Garage Doors:'
value2: "Small: {{ states('cover.garadget_small')}}"
value3: "Large: {{ states('cover.garadget_large')}}"
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.garadget_small')}} and the large garage is {{ states('cover.garadget_large')}}"
value1: "Please check the garage doors. The Small garage is {{ states('cover.small_garage')}} and the large garage is {{ states('cover.large_garage')}}"