diff --git a/automations/files/3d-printer.yaml b/automations/files/3d-printer.yaml new file mode 100644 index 0000000..d22e34a --- /dev/null +++ b/automations/files/3d-printer.yaml @@ -0,0 +1,23 @@ +- id: 3dprinter-off + alias: '[3D Printer] Turn off' + description: '' + mode: single + trigger: + - type: value + platform: device + device_id: 58e9b8fc848631004a3c1e303ff25229 + entity_id: sensor.3d_printer_power + domain: sensor + below: 10 + for: + hours: 0 + minutes: 30 + seconds: 0 + condition: + - condition: state + entity_id: binary_sensor.octoprint_printing + state: 'off' + action: + - service: switch.turn_off + data: { } + entity_id: switch.3d_printer_switch diff --git a/automations/files/bedroom-motion.yaml b/automations/files/bedroom-motion.yaml index 00bf494..3eea806 100644 --- a/automations/files/bedroom-motion.yaml +++ b/automations/files/bedroom-motion.yaml @@ -9,7 +9,7 @@ condition: - condition: numeric_state entity_id: sensor.bedroom_motion_illuminance - below: '100' + below: '50' - condition: state entity_id: input_select.home_mode state: Day