diff --git a/automations/files/automations/bathroom-motion.yaml b/automations/files/automations/bathroom-motion.yaml index dd6c49b..e12948d 100644 --- a/automations/files/automations/bathroom-motion.yaml +++ b/automations/files/automations/bathroom-motion.yaml @@ -3,7 +3,7 @@ mode: restart trigger: - platform: state - entity_id: binary_sensor.bathroom_motion_sensor + entity_id: binary_sensor.bathroom_motion_occupancy from: 'off' to: 'on' condition: @@ -21,7 +21,7 @@ mode: restart trigger: - platform: state - entity_id: binary_sensor.bathroom_motion_sensor + entity_id: binary_sensor.bathroom_motion_occupancy from: 'off' to: 'on' condition: @@ -41,7 +41,7 @@ mode: restart trigger: - platform: state - entity_id: binary_sensor.bathroom_motion_sensor + entity_id: binary_sensor.bathroom_motion_occupancy from: 'off' to: 'on' condition: @@ -59,7 +59,7 @@ mode: restart trigger: - platform: state - entity_id: binary_sensor.bathroom_motion_sensor + entity_id: binary_sensor.bathroom_motion_occupancy for: '0:05:00' from: 'on' to: 'off' diff --git a/automations/files/automations/bathroom-music-button.yaml b/automations/files/automations/bathroom-music-button.yaml index 5406ae7..78c17a0 100644 --- a/automations/files/automations/bathroom-music-button.yaml +++ b/automations/files/automations/bathroom-music-button.yaml @@ -28,7 +28,7 @@ type: remote_button_short_press subtype: remote_button_short_press condition: - - condition: not1212 + - condition: not conditions: - condition: state entity_id: media_player.bathroom diff --git a/automations/files/automations/bathroom-music.yaml b/automations/files/automations/bathroom-music.yaml index b2f5d04..607e653 100644 --- a/automations/files/automations/bathroom-music.yaml +++ b/automations/files/automations/bathroom-music.yaml @@ -30,7 +30,7 @@ from: 'on' to: 'off' - platform: state - entity_id: binary_sensor.bathroom_motion_sensor + entity_id: binary_sensor.bathroom_motion_occupancy for: '0:01:00' from: 'on' to: 'off' @@ -39,7 +39,7 @@ entity_id: binary_sensor.shower_motion state: 'off' - condition: state - entity_id: binary_sensor.bathroom_motion_sensor + entity_id: binary_sensor.bathroom_motion_occupancy state: 'off' action: - service: media_player.turn_off