diff --git a/roles/automations/files/hallway.yaml b/roles/automations/files/hallway.yaml index 487bc44..a9db697 100644 --- a/roles/automations/files/hallway.yaml +++ b/roles/automations/files/hallway.yaml @@ -34,7 +34,7 @@ to: "on" condition: - condition: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance below: '400' action: - service: script.hallway_lights_on diff --git a/roles/automations/files/kitchen-motion.yaml b/roles/automations/files/kitchen-motion.yaml index a09d8c4..ad656f1 100644 --- a/roles/automations/files/kitchen-motion.yaml +++ b/roles/automations/files/kitchen-motion.yaml @@ -16,7 +16,7 @@ - choose: - conditions: - condition: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance below: '350' sequence: - service: script.kitchen_lights_on diff --git a/roles/automations/files/living-room-presence.yaml b/roles/automations/files/living-room-presence.yaml index 6408888..13f8648 100644 --- a/roles/automations/files/living-room-presence.yaml +++ b/roles/automations/files/living-room-presence.yaml @@ -9,7 +9,7 @@ - choose: - conditions: - condition: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance below: '200' sequence: - service: script.living_room_lights_on diff --git a/roles/automations/files/office-brightness.yaml b/roles/automations/files/office-brightness.yaml index 35473da..fd6cb65 100644 --- a/roles/automations/files/office-brightness.yaml +++ b/roles/automations/files/office-brightness.yaml @@ -3,7 +3,7 @@ mode: single trigger: - platform: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance below: '25' for: hours: 0 @@ -25,7 +25,7 @@ mode: single trigger: - platform: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance below: '200' for: hours: 0 @@ -57,7 +57,7 @@ mode: single trigger: - platform: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance above: '250' for: hours: 0 @@ -75,33 +75,33 @@ mode: single trigger: - platform: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance above: '30' - below: '2000' + below: '500' for: hours: 0 minutes: 0 seconds: 30 - platform: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance above: '30' - below: '2000' + below: '500' for: hours: 0 minutes: 1 seconds: 0 - platform: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance above: '30' - below: '2000' + below: '500' for: hours: 0 minutes: 2 seconds: 0 - platform: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance above: '30' - below: '2000' + below: '500' for: hours: 0 minutes: 3 @@ -135,8 +135,8 @@ mode: single trigger: - platform: numeric_state - entity_id: sensor.office_illuminance - above: '2500' + entity_id: sensor.outside_sensor_illuminance + above: '600' for: hours: 0 minutes: 1 diff --git a/roles/automations/files/office-presence.yaml b/roles/automations/files/office-presence.yaml index cb721e4..d9bc597 100644 --- a/roles/automations/files/office-presence.yaml +++ b/roles/automations/files/office-presence.yaml @@ -9,7 +9,7 @@ - choose: - conditions: - condition: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance below: '200' sequence: - service: script.office_lights_on diff --git a/roles/automations/files/table-presence.yaml b/roles/automations/files/table-presence.yaml index 7ee4529..f93ec84 100644 --- a/roles/automations/files/table-presence.yaml +++ b/roles/automations/files/table-presence.yaml @@ -9,7 +9,7 @@ - choose: - conditions: - condition: numeric_state - entity_id: sensor.office_illuminance + entity_id: sensor.outside_sensor_illuminance below: '200' sequence: - service: script.table_lights_on