diff --git a/configuration/automations/alarm.yaml b/configuration/automations/alarm.yaml index b481963..236576b 100644 --- a/configuration/automations/alarm.yaml +++ b/configuration/automations/alarm.yaml @@ -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 diff --git a/configuration/automations/brightness.yaml b/configuration/automations/brightness.yaml index 305b0a4..111ac9a 100644 --- a/configuration/automations/brightness.yaml +++ b/configuration/automations/brightness.yaml @@ -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 diff --git a/configuration/automations/hallway.yaml b/configuration/automations/hallway.yaml index 28dd220..7242682 100644 --- a/configuration/automations/hallway.yaml +++ b/configuration/automations/hallway.yaml @@ -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 diff --git a/configuration/automations/info-battery.yaml b/configuration/automations/info-battery.yaml index b6c588c..7231b1f 100644 --- a/configuration/automations/info-battery.yaml +++ b/configuration/automations/info-battery.yaml @@ -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: diff --git a/configuration/automations/info-leak.yaml b/configuration/automations/info-leak.yaml index 94aee27..a4b2977 100644 --- a/configuration/automations/info-leak.yaml +++ b/configuration/automations/info-leak.yaml @@ -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 diff --git a/configuration/automations/kitchen-motion.yaml b/configuration/automations/kitchen-motion.yaml index 19d8566..eca7010 100644 --- a/configuration/automations/kitchen-motion.yaml +++ b/configuration/automations/kitchen-motion.yaml @@ -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: [ ]