parent
3c5756a766
commit
bcac19ab69
@ -0,0 +1,21 @@
|
||||
##############################################################################
|
||||
### Detect when things are on and forgotten about.
|
||||
##############################################################################
|
||||
|
||||
- alias: Printer on for more than 35 minutes
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: switch.printer_outlet
|
||||
state: 'on'
|
||||
for: '00:35:00'
|
||||
|
||||
#Turn it off twice for good measure!
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
data_template:
|
||||
entity_id: "{{ trigger.entity_id }}"
|
||||
- delay: 00:01:00
|
||||
- service: switch.turn_off
|
||||
data_template:
|
||||
entity_id: "{{ trigger.entity_id }}"
|
||||
|
||||
@ -0,0 +1,26 @@
|
||||
###################################
|
||||
## Turn on/off Printer via ALexa/IFTTT event. Turn off automatically after 20 minutes
|
||||
###################################
|
||||
|
||||
- alias: 'IFTTT Turn Printer on'
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: printer_on
|
||||
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.printer_outlet
|
||||
- delay: 00:20:00
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.printer_outlet
|
||||
|
||||
|
||||
- alias: 'IFTTT Turn Printer off'
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: printer_off
|
||||
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.printer_outlet
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
Switches:
|
||||
entities:
|
||||
- switch.halloween_lights_den
|
||||
- switch.halloween_lights_dining_room
|
||||
- switch.foyer_outlet
|
||||
- switch.kitchen_Accents
|
||||
- switch.printer_outlet
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
sensor.garadget_small_time_in_state:
|
||||
icon: mdi:timer-sand
|
||||
sensor.garadget_small_wifi_signal_strength:
|
||||
icon: mdi:wifi
|
||||
sensor.garadget_large_time_in_state:
|
||||
icon: mdi:timer-sand
|
||||
sensor.garadget_large_wifi_signal_strength:
|
||||
icon: mdi:wifi
|
||||
@ -0,0 +1,11 @@
|
||||
garage_doors:
|
||||
name: Garage doors
|
||||
entities:
|
||||
- cover.garadget_large
|
||||
- sensor.garadget_large_status
|
||||
- sensor.garadget_large_time_in_state
|
||||
- sensor.garadget_large_wifi_signal_strength
|
||||
- cover.garadget_small
|
||||
- sensor.garadget_small_status
|
||||
- sensor.garadget_small_time_in_state
|
||||
- sensor.garadget_small_wifi_signal_strength
|
||||
@ -1,26 +0,0 @@
|
||||
Holiday lights:
|
||||
entities:
|
||||
- switch.halloween_lights_den
|
||||
- switch.halloween_lights_dining_room
|
||||
- switch.foyer_outlet
|
||||
|
||||
|
||||
#########################################
|
||||
### Pumpkin lights used in ###
|
||||
### holiday / late night helper & ###
|
||||
### Good_night ###
|
||||
#########################################
|
||||
|
||||
Halloween_Flasher:
|
||||
entities:
|
||||
- light.couch_1
|
||||
- light.couch_2
|
||||
- light.couch_tv
|
||||
- light.den_lamp
|
||||
- light.foyer_door
|
||||
- light.foyer
|
||||
- light.office_lamp
|
||||
- light.sconce_1
|
||||
- light.sconce_2
|
||||
- light.sconce_3
|
||||
- light.sconce_4
|
||||
@ -1,34 +0,0 @@
|
||||
###################################
|
||||
## Guest Mode Override
|
||||
###################################
|
||||
# Medicine_Reminder:
|
||||
# name: Medicine Reminder
|
||||
# icon: mdi:pill
|
||||
# initial: off
|
||||
|
||||
Trash_Reminder:
|
||||
Name: Trash Day Reminder
|
||||
icon: mdi:delete
|
||||
initial: off
|
||||
|
||||
Chore_Reminder:
|
||||
name: Chore Day Reminder
|
||||
icon: mdi:human-male-female
|
||||
initial: off
|
||||
|
||||
###################################
|
||||
## School Vacation Override
|
||||
###################################
|
||||
no_school:
|
||||
name: No School
|
||||
icon: mdi:school
|
||||
initial: off
|
||||
|
||||
###################################
|
||||
## Guest Mode Override
|
||||
###################################
|
||||
guest_mode:
|
||||
name: Guest Mode
|
||||
icon: mdi:account-alert
|
||||
initial: off
|
||||
|
||||
@ -0,0 +1,25 @@
|
||||
- platform: template
|
||||
sensors:
|
||||
garadget_small_status:
|
||||
friendly_name: 'State of the door'
|
||||
value_template: '{{ states.cover.garadget_small.state }}'
|
||||
garadget_small_time_in_state:
|
||||
friendly_name: 'Since'
|
||||
value_template: '{{ states.cover.garadget_small.attributes["time in state"] }}'
|
||||
garadget_small_wifi_signal_strength:
|
||||
friendly_name: 'WiFi strength'
|
||||
value_template: '{{ states.cover.garadget_small.attributes["wifi signal strength (dB)"] }}'
|
||||
unit_of_measurement: 'dB'
|
||||
|
||||
- platform: template
|
||||
sensors:
|
||||
garadget_large_status:
|
||||
friendly_name: 'State of the door'
|
||||
value_template: '{{ states.cover.garadget_large.state }}'
|
||||
garadget_large_time_in_state:
|
||||
friendly_name: 'Since'
|
||||
value_template: '{{ states.cover.garadget_large.attributes["time in state"] }}'
|
||||
garadget_large_wifi_signal_strength:
|
||||
friendly_name: 'WiFi strength'
|
||||
value_template: '{{ states.cover.garadget_large.attributes["wifi signal strength (dB)"] }}'
|
||||
unit_of_measurement: 'dB'
|
||||
Loading…
Reference in new issue