Compare commits
5 Commits
2ec8ddf70e
...
77e6c4b901
Author | SHA1 | Date | |
---|---|---|---|
77e6c4b901 | |||
426697fc23 | |||
fbcd2be7bf | |||
48edc10df4 | |||
ba929d37ee |
@ -97,3 +97,35 @@
|
||||
- switch.3d_printer_enclosure_fan_on_off
|
||||
- service: light.turn_off
|
||||
entity_id: light.3d_printer_light
|
||||
|
||||
- id: 3dprinter-fan-on
|
||||
alias: '[3D Printer] Fan on'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.octoprint_printing
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.octoprint_target_bed_temp
|
||||
below: '100'
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.3d_printer_enclosure_fan_on_off
|
||||
|
||||
- id: 3dprinter-fan-off
|
||||
alias: '[3D Printer] Fan off'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.octoprint_printing
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.octoprint_target_bed_temp
|
||||
above: '99'
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.3d_printer_enclosure_fan_on_off
|
||||
|
@ -10,8 +10,8 @@
|
||||
action:
|
||||
- service: script.arrive_home
|
||||
|
||||
- id: alarm-disarm-andrzej
|
||||
alias: "[Alarm][Vacation] Disarm Andrzej arrive"
|
||||
- id: alarm-arm-andrzej
|
||||
alias: "[Alarm][Vacation] Arm Andrzej arrive"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
|
@ -15,8 +15,8 @@
|
||||
- device_id: 0d584dbfe721e00880b38c4dfc1c108e
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
type: remote_button_long_press
|
||||
subtype: dim_up
|
||||
condition:
|
||||
- condition: not
|
||||
conditions:
|
||||
|
@ -13,26 +13,10 @@
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: media_player.bedroom_tv
|
||||
state: 'on'
|
||||
sequence:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: sensor.bedroom_tv_media_input_source
|
||||
state: HDMI2
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: media_player.bedroom_atv
|
||||
state: playing
|
||||
sequence:
|
||||
- service: script.bedroom_lights_on
|
||||
default:
|
||||
state: 'off'
|
||||
action:
|
||||
- service: script.bedroom_lights_on
|
||||
|
||||
- id: bedroom-motion-off
|
||||
|
8
configuration/automations/bedroom-tv.yaml
Normal file
8
configuration/automations/bedroom-tv.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
- id: bedroom-tv-on
|
||||
alias: '[Bedroom] TV ON'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.bedroom_tv
|
||||
to: 'on'
|
||||
action:
|
||||
- service: script.bedroom_tv_scene
|
@ -26,20 +26,6 @@
|
||||
title: "UPS Alert"
|
||||
message: UPS is charging
|
||||
|
||||
- id: ups-lost-power
|
||||
alias: '[UPS] Lost power'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.myups_input_voltage
|
||||
to: '0'
|
||||
condition: [ ]
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS lost power
|
||||
|
||||
- id: ups-power-back
|
||||
alias: '[UPS] Power back'
|
||||
mode: single
|
||||
@ -55,7 +41,7 @@
|
||||
message: UPS power is back
|
||||
|
||||
- id: ups-battery-under-100
|
||||
alias: '[UPS] Power back'
|
||||
alias: '[UPS] Battery Under 100%'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
@ -69,7 +55,7 @@
|
||||
message: UPS battery is below 100%, estimated time on battery 25 min
|
||||
|
||||
- id: ups-battery-under-50
|
||||
alias: '[UPS] Power back'
|
||||
alias: '[UPS] Battery Under 50%'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
@ -83,7 +69,7 @@
|
||||
message: UPS battery is below 50%, estimated time on battery 12 min
|
||||
|
||||
- id: ups-battery-under-10
|
||||
alias: '[UPS] Power back'
|
||||
alias: '[UPS] Battery Under 10%'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
|
@ -74,7 +74,7 @@ tv_atv:
|
||||
data:
|
||||
mode: video
|
||||
tv_f1tv:
|
||||
alias: tv F1
|
||||
alias: F1TV
|
||||
icon: mdi:android
|
||||
sequence:
|
||||
- choose:
|
||||
|
@ -94,6 +94,21 @@ bedroom_bed_lamp_on:
|
||||
brightness_pct: 30
|
||||
kelvin: 3200
|
||||
|
||||
bedroom_tv_scene:
|
||||
alias: '[Bedroom] TV Scene'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.bed_lamps
|
||||
data:
|
||||
brightness_pct: 10
|
||||
kelvin: 2000
|
||||
- service: light.turn_off
|
||||
entity_id: light.bedroom_lights
|
||||
- service: light.turn_off
|
||||
entity_id: light.bed_lightstrip
|
||||
- service: light.turn_off
|
||||
entity_id: light.bed_lamps
|
||||
|
||||
bedroom_bed_lamp_off:
|
||||
alias: '[Bedroom] Bed lamps off'
|
||||
sequence:
|
||||
|
Loading…
Reference in New Issue
Block a user