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 - switch.3d_printer_enclosure_fan_on_off
- service: light.turn_off - service: light.turn_off
entity_id: light.3d_printer_light 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: action:
- service: script.arrive_home - service: script.arrive_home
- id: alarm-arm-andrzej - id: alarm-disarm-andrzej
alias: "[Alarm][Vacation] Arm Andrzej arrive" alias: "[Alarm][Vacation] Disarm Andrzej arrive"
mode: single mode: single
trigger: trigger:
- platform: state - platform: state

View File

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

View File

@ -13,11 +13,27 @@
- condition: state - condition: state
entity_id: input_select.home_mode entity_id: input_select.home_mode
state: Day state: Day
- condition: state
entity_id: media_player.bedroom_tv
state: 'off'
action: action:
- service: script.bedroom_lights_on - 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:
- service: script.bedroom_lights_on
- id: bedroom-motion-off - id: bedroom-motion-off
alias: '[Bedroom] Motion Off' alias: '[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" title: "UPS Alert"
message: UPS is charging 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 - id: ups-power-back
alias: '[UPS] Power back' alias: '[UPS] Power back'
mode: single mode: single
@ -41,7 +55,7 @@
message: UPS power is back message: UPS power is back
- id: ups-battery-under-100 - id: ups-battery-under-100
alias: '[UPS] Battery Under 100%' alias: '[UPS] Power back'
mode: single mode: single
trigger: trigger:
- platform: numeric_state - platform: numeric_state
@ -55,7 +69,7 @@
message: UPS battery is below 100%, estimated time on battery 25 min message: UPS battery is below 100%, estimated time on battery 25 min
- id: ups-battery-under-50 - id: ups-battery-under-50
alias: '[UPS] Battery Under 50%' alias: '[UPS] Power back'
mode: single mode: single
trigger: trigger:
- platform: numeric_state - platform: numeric_state
@ -69,7 +83,7 @@
message: UPS battery is below 50%, estimated time on battery 12 min message: UPS battery is below 50%, estimated time on battery 12 min
- id: ups-battery-under-10 - id: ups-battery-under-10
alias: '[UPS] Battery Under 10%' alias: '[UPS] Power back'
mode: single mode: single
trigger: trigger:
- platform: numeric_state - platform: numeric_state

View File

@ -74,7 +74,7 @@ tv_atv:
data: data:
mode: video mode: video
tv_f1tv: tv_f1tv:
alias: F1TV alias: tv F1
icon: mdi:android icon: mdi:android
sequence: sequence:
- choose: - choose:
@ -91,26 +91,26 @@ tv_f1tv:
target: target:
entity_id: media_player.living_room entity_id: media_player.living_room
- delay: 5 - delay: 5
- service: androidtv.adb_command - service: androidtv.adb_command
data: data:
command: HOME command: HOME
entity_id: media_player.nvidia_shield entity_id: media_player.nvidia_shield
- delay: 5 - delay: 5
- service: media_player.select_source - service: media_player.select_source
data: data:
source: com.formulaone.production source: com.formulaone.production
target: target:
entity_id: media_player.nvidia_shield entity_id: media_player.nvidia_shield
- delay: 5 - delay: 5
- service: androidtv.adb_command - service: androidtv.adb_command
data: data:
command: CENTER command: CENTER
entity_id: media_player.nvidia_shield entity_id: media_player.nvidia_shield
- service: huesyncbox.set_sync_mode - service: huesyncbox.set_sync_mode
target: target:
entity_id: media_player.sync_box entity_id: media_player.sync_box
data: data:
mode: video mode: video
tv_off: tv_off:
alias: 'TV Off' alias: 'TV Off'
icon: mdi:power icon: mdi:power

View File

@ -94,21 +94,6 @@ bedroom_bed_lamp_on:
brightness_pct: 30 brightness_pct: 30
kelvin: 3200 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: bedroom_bed_lamp_off:
alias: '[Bedroom] Bed lamps off' alias: '[Bedroom] Bed lamps off'
sequence: sequence: