1
0

Compare commits

..

No commits in common. "77e6c4b901fdeeb0665384fc6b933c17fae8da28" and "2ec8ddf70e652e245c1ddf88c04529534647d3c2" have entirely different histories.

8 changed files with 62 additions and 87 deletions

View File

@ -97,35 +97,3 @@
- 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

View File

@ -10,8 +10,8 @@
action:
- service: script.arrive_home
- id: alarm-arm-andrzej
alias: "[Alarm][Vacation] Arm Andrzej arrive"
- id: alarm-disarm-andrzej
alias: "[Alarm][Vacation] Disarm Andrzej arrive"
mode: single
trigger:
- platform: state

View File

@ -15,8 +15,8 @@
- device_id: 0d584dbfe721e00880b38c4dfc1c108e
domain: zha
platform: device
type: remote_button_long_press
subtype: dim_up
type: remote_button_short_press
subtype: turn_on
condition:
- condition: not
conditions:

View File

@ -13,10 +13,26 @@
- condition: state
entity_id: input_select.home_mode
state: Day
action:
- choose:
- conditions:
- condition: state
entity_id: media_player.bedroom_tv
state: 'off'
action:
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:
- service: script.bedroom_lights_on
- id: bedroom-motion-off

View File

@ -1,8 +0,0 @@
- 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

View File

@ -26,6 +26,20 @@
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
@ -41,7 +55,7 @@
message: UPS power is back
- id: ups-battery-under-100
alias: '[UPS] Battery Under 100%'
alias: '[UPS] Power back'
mode: single
trigger:
- platform: numeric_state
@ -55,7 +69,7 @@
message: UPS battery is below 100%, estimated time on battery 25 min
- id: ups-battery-under-50
alias: '[UPS] Battery Under 50%'
alias: '[UPS] Power back'
mode: single
trigger:
- platform: numeric_state
@ -69,7 +83,7 @@
message: UPS battery is below 50%, estimated time on battery 12 min
- id: ups-battery-under-10
alias: '[UPS] Battery Under 10%'
alias: '[UPS] Power back'
mode: single
trigger:
- platform: numeric_state

View File

@ -74,7 +74,7 @@ tv_atv:
data:
mode: video
tv_f1tv:
alias: F1TV
alias: tv F1
icon: mdi:android
sequence:
- choose:

View File

@ -94,21 +94,6 @@ 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: