Add more entities to battery automation
and changes some entities names
This commit is contained in:
parent
d8965ec82f
commit
c22f99ff0e
@ -18,7 +18,7 @@
|
||||
entity_id: binary_sensor.kitchen_tabletop_motion_detection
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.sink_motion_sensor
|
||||
entity_id: binary_sensor.kitchen_sink_motion_sensor
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.shower_motion
|
||||
|
@ -3,7 +3,7 @@
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance
|
||||
entity_id: sensor.office_illuminance
|
||||
below: '20'
|
||||
for:
|
||||
hours: 0
|
||||
@ -21,7 +21,7 @@
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance
|
||||
entity_id: sensor.office_illuminance
|
||||
above: '30'
|
||||
below: '150'
|
||||
for:
|
||||
@ -40,7 +40,7 @@
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance
|
||||
entity_id: sensor.office_illuminance
|
||||
above: '1500'
|
||||
for:
|
||||
hours: 0
|
||||
|
@ -55,7 +55,7 @@
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance
|
||||
entity_id: sensor.office_illuminance
|
||||
below: '100'
|
||||
action:
|
||||
- service: script.hallway_lights_on
|
||||
|
@ -2,12 +2,48 @@
|
||||
alias: '[INFO] Battery notice'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.3d_printer_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.3d_printer_smoke_sensor_battery_level
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bathroom_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bathroom_door_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bathroom_mirror_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bathroom_motion_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: button.bathroom_music_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bathroom_thermostat_battery_level_3
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bedroom_bed_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bedroom_bed_motion_sensor_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bedroom_blinds_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bedroom_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bedroom_door_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bedroom_motion_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.bedroom_thermostat_battery_level
|
||||
@ -47,6 +83,12 @@
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.ble_battery_thuja_plant_3
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.computer_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.dining_blinds_controller_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.dining_thermostat_battery_level
|
||||
@ -62,12 +104,57 @@
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.flood_water_sensor_battery_level
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.freezer_door_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.front_door_lock_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.front_door_lock_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.front_door_sensor_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.hallway_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.hallway_motion_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.kitchen_motion_sensor_battery_level
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.kitchen_sink_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.kitchen_sink_leak_sensor_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.kitchen_sink_motion_sensor_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.living_room_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.office_blind_button_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.office_illuminance_sensor_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.office_thermostat_battery_level
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.office_window_sensor_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.rack_smoke_sensor_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.shower_motion_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.siren_alarm_battery_level
|
||||
@ -77,7 +164,9 @@
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.kitchen_tabletop_motion_battery_level
|
||||
condition: [ ]
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.washing_machine_battery
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
|
@ -6,7 +6,7 @@
|
||||
entity_id: binary_sensor.coffee_machine_leak_sensor
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.sink_leak_sensor
|
||||
entity_id: binary_sensor.kitchen_sink_leak_sensor
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.washing_machine_water_leak_sensor
|
||||
|
@ -16,7 +16,7 @@
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance
|
||||
entity_id: sensor.office_illuminance
|
||||
below: '150'
|
||||
sequence:
|
||||
- choose:
|
||||
@ -45,7 +45,7 @@
|
||||
entity_id: input_select.home_mode
|
||||
state: Night
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance
|
||||
entity_id: sensor.office_illuminance
|
||||
below: '100'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
@ -64,7 +64,7 @@
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.sink_motion_sensor
|
||||
entity_id: binary_sensor.kitchen_sink_motion_sensor
|
||||
to: 'off'
|
||||
for: '0:02:00'
|
||||
- platform: state
|
||||
@ -77,7 +77,7 @@
|
||||
state: 'off'
|
||||
for: '0:02:00'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.sink_motion_sensor
|
||||
entity_id: binary_sensor.kitchen_sink_motion_sensor
|
||||
state: 'off'
|
||||
for: '0:02:00'
|
||||
- condition: state
|
||||
@ -93,7 +93,7 @@
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.sink_motion_sensor
|
||||
entity_id: binary_sensor.kitchen_sink_motion_sensor
|
||||
to: 'off'
|
||||
for: '0:05:00'
|
||||
condition: [ ]
|
||||
|
Loading…
Reference in New Issue
Block a user