mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-20 16:21:58 +00:00
Garadget Garadget Garadget!
This commit is contained in:
parent
c61be3cd61
commit
2da72479f0
@ -22,6 +22,8 @@
|
|||||||
- sensor.nest_downstairs
|
- sensor.nest_downstairs
|
||||||
- sensor.ciscoap
|
- sensor.ciscoap
|
||||||
- sensor.actiontechap
|
- sensor.actiontechap
|
||||||
|
- sensor.garadget_small
|
||||||
|
- sensor.garadget_large
|
||||||
action:
|
action:
|
||||||
service: ifttt.trigger
|
service: ifttt.trigger
|
||||||
data_template: {"event":"device_status", "value1":"{{ trigger.entity_id.split('.')[1] }}", "value2":"{{ trigger.to_state.state }}"}
|
data_template: {"event":"device_status", "value1":"{{ trigger.entity_id.split('.')[1] }}", "value2":"{{ trigger.to_state.state }}"}
|
||||||
|
@ -1,65 +1,18 @@
|
|||||||
######################################################################
|
######################################################################
|
||||||
## Weekday Morning Routines for the Wife and Kiddos.
|
## Good night Routine
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
- alias: 'Good Morning Routine'
|
- alias: 'Good Morning Routine'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: event
|
- platform: event
|
||||||
event_type: good_morning
|
event_type: good_night
|
||||||
- platform: time
|
|
||||||
after: '06:00:00'
|
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.family
|
entity_id: group.family
|
||||||
state: home
|
state: home
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.no_school
|
|
||||||
state: 'off'
|
|
||||||
- condition: time
|
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
|
||||||
entity_id:
|
|
||||||
- light.s1
|
|
||||||
- light.s4
|
|
||||||
data:
|
|
||||||
brightness: 150
|
|
||||||
- service: switch.turn_on
|
|
||||||
entity_id: switch.kitchen_accents
|
|
||||||
- delay: 00:01:00
|
|
||||||
- service: switch.turn_on
|
|
||||||
entity_id: switch.kitchen_accents
|
|
||||||
- delay: 00:50:00
|
|
||||||
# 6:50am now.
|
|
||||||
- service: light.turn_on
|
|
||||||
entity_id:
|
|
||||||
- light.d1
|
|
||||||
- light.d2
|
|
||||||
- group.kitchen_lights
|
|
||||||
data:
|
|
||||||
brightness: 150
|
|
||||||
- service: light.turn_off
|
|
||||||
entity_id:
|
|
||||||
- group.dining_room_lights
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.kitchen_accents
|
|
||||||
- delay: 01:00:00
|
|
||||||
# 7:50am now.
|
|
||||||
- service: light.turn_on
|
|
||||||
entity_id:
|
|
||||||
- group.kitchen_lights
|
|
||||||
data:
|
|
||||||
brightness: 200
|
|
||||||
|
|
||||||
- delay: 00:40:00
|
|
||||||
# 8:30am now.
|
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.interior_lights
|
- group.interior_lights
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
device_tracker.garadget_large:
|
||||||
|
hidden: true
|
||||||
|
sensor.garadget_large:
|
||||||
|
icon: mdi:door
|
||||||
|
device_tracker.garadget_small:
|
||||||
|
hidden: true
|
||||||
|
sensor.garadget_small:
|
||||||
|
icon: mdi:door
|
||||||
sensor.garadget_small_time_in_state:
|
sensor.garadget_small_time_in_state:
|
||||||
friendly_name: 'Time in State'
|
friendly_name: 'Time in State'
|
||||||
icon: mdi:timer-sand
|
icon: mdi:timer-sand
|
||||||
|
@ -130,4 +130,21 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
Offline
|
Offline
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
garadget_large:
|
||||||
|
friendly_name: 'Garadget Large'
|
||||||
|
value_template: >-
|
||||||
|
{%- if is_state("device_tracker.garadget_large", "home") %}
|
||||||
|
Online
|
||||||
|
{% else %}
|
||||||
|
Offline
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
garadget_small:
|
||||||
|
friendly_name: 'Garadget Small'
|
||||||
|
value_template: >-
|
||||||
|
{%- if is_state("device_tracker.garadget_small", "home") %}
|
||||||
|
Online
|
||||||
|
{% else %}
|
||||||
|
Offline
|
||||||
|
{%- endif %}
|
Loading…
x
Reference in New Issue
Block a user