- id: '1705258898413' alias: Garage - Freeze Warning description: '' trigger: - type: temperature platform: device device_id: 06c90225086d65c97d32816dd1c944ec entity_id: f6a993f50e18c8f10d831779a5a14744 domain: sensor below: 32 for: hours: 0 minutes: 45 seconds: 0 condition: [] action: - service: notify.mobile_app_andrew_phone data: title: Garage Freeze Warning - service: media_player.play_media target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/cloud?message=Warning%3A+Garage+is+below+freezing&language=en-AU&voice=NatashaNeural media_content_type: provider metadata: title: 'Warning: Garage is below freezing' thumbnail: https://brands.home-assistant.io/_/cloud/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/cloud?message=Warning%3A+Garage+is+below+freezing&language=en-AU&voice=NatashaNeural mode: single - id: '1705258804156' alias: Outdoor Freeze Warning description: '' trigger: - type: temperature platform: device device_id: bfe1edb9e8906fcc97f59d8574d08be2 entity_id: 0365fb2a14e234fd2b75e52e57c62b84 domain: sensor below: 32 for: hours: 1 minutes: 30 seconds: 0 condition: [] action: - service: notify.mobile_app_andrew_phone data: title: Outdoor Freeze Warning mode: single - id: '1723764507128' alias: Deep Freeze Door Alarm description: '' trigger: - type: opened platform: device device_id: 1395ea248355b77100618285aba6c7ff entity_id: 4dfcb1bd4d454748f1678d45a1a8ecb4 domain: binary_sensor for: hours: 0 minutes: 6 seconds: 0 condition: [] action: - repeat: sequence: - service: media_player.play_media target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/tts.google_en_com?message=Deep+Freeze+has+been+left+open&language=en-au media_content_type: provider metadata: title: Deep Freeze has been left open thumbnail: https://brands.home-assistant.io/_/tts/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/tts.google_en_com?message=Deep+Freeze+has+been+left+open&language=en-au - service: notify.mobile_app_iphone data: message: Deep Freeze Has Been Left Open title: 'Alert: Deep Freeze Has Been Left Open' - service: notify.mobile_app_pixel_8_pro data: title: Deep Freeze Has Been Left Open message: Deep Freeze Has Been Left Open - delay: hours: 0 minutes: 5 seconds: 0 milliseconds: 0 until: - type: is_not_open condition: device device_id: 1395ea248355b77100618285aba6c7ff entity_id: 4dfcb1bd4d454748f1678d45a1a8ecb4 domain: binary_sensor mode: single - id: '1731182508762' alias: Water Softener Power Alarm description: '' triggers: - type: power device_id: 96da67373a6e8b756058ed6a488f88b8 entity_id: 7abadc9dcbcb281f2df1b265eee0abce domain: sensor trigger: device below: 0.18 for: hours: 0 minutes: 5 seconds: 0 conditions: [] actions: - data: message: Water Softener is powered off title: 'Alert: Water Softener is powered off' action: notify.mobile_app_iphone - data: message: Water Softener is powered off title: 'Alert: Water Softener is powered off' action: notify.mobile_app_pixel_8_pro mode: single - id: '1731454038935' alias: Sarah's Home Alert description: '' triggers: - type: opened device_id: 7dae4a8d5cbcc4b29b8dbba9c82a69e1 entity_id: 32c87f38e5630da372418730c22cda75 domain: binary_sensor trigger: device conditions: - condition: time after: 08:00:00 before: '23:00:00' weekday: - mon - tue - wed - thu - fri actions: - action: tts.speak metadata: {} data: cache: false language: en-au media_player_entity_id: media_player.andrew_office_speaker message: Sarah is probably home target: entity_id: tts.google_en_com mode: single - id: '1734295610272' alias: Doorbell Alert description: Doorbell Alert triggers: - trigger: state entity_id: - binary_sensor.front_door_bell_doorbell from: 'off' to: 'on' conditions: [] actions: - data: {} action: script.unmute_googles - target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/cloud?message=Someone%20is%20at%20the%20door&language=en-AU&voice=NatashaNeural media_content_type: provider metadata: title: Someone is at the door thumbnail: https://brands.home-assistant.io/_/cloud/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/cloud?message=Someone%20is%20at%20the%20door&language=en-AU&voice=NatashaNeural action: media_player.play_media - delay: hours: 0 minutes: 0 seconds: 4 milliseconds: 0 - target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/cloud?message=Someone%20is%20at%20the%20door&language=en-AU&voice=NatashaNeural media_content_type: provider metadata: title: Someone is at the door thumbnail: https://brands.home-assistant.io/_/cloud/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/cloud?message=Someone%20is%20at%20the%20door&language=en-AU&voice=NatashaNeural action: media_player.play_media mode: single - id: '1720226992842' alias: Master Bedroom Curtains - Close description: '' trigger: - platform: device domain: mqtt device_id: 93e7a52aecb2b286f8c540915b98d766 type: action subtype: single discovery_id: 0xa4c138bcbe69fd56 action_single condition: - condition: device device_id: c27ac01b203cccb25e7f4dfb7eb96385 domain: cover entity_id: fb07e764100d76f7d5e672cbb76f2b10 type: is_open action: - service: cover.close_cover data: {} target: device_id: c27ac01b203cccb25e7f4dfb7eb96385 mode: single - id: '1720226951506' alias: Master Bedroom Curtains - Open description: '' trigger: - platform: device domain: mqtt device_id: 93e7a52aecb2b286f8c540915b98d766 type: action subtype: single discovery_id: 0xa4c138bcbe69fd56 action_single condition: - condition: device device_id: c27ac01b203cccb25e7f4dfb7eb96385 domain: cover entity_id: fb07e764100d76f7d5e672cbb76f2b10 type: is_closed action: - service: cover.open_cover data: {} target: device_id: c27ac01b203cccb25e7f4dfb7eb96385 mode: single - id: '1723691016248' alias: Turn off Bedtime every morning description: '' trigger: - platform: time at: 08:00:00 condition: [] action: - service: input_boolean.turn_off data: {} target: entity_id: input_boolean.bedtime mode: single - id: '1730426753612' alias: Watching TV Trigger description: '' triggers: - trigger: state entity_id: - input_boolean.watching_tv from: 'off' to: 'on' conditions: [] actions: - action: script.tv_watching metadata: {} data: {} - action: input_boolean.turn_off target: entity_id: input_boolean.watching_tv data: {} mode: single - id: '1731718992507' alias: Water Softener Plug Always On description: '' triggers: - type: turned_off device_id: 96da67373a6e8b756058ed6a488f88b8 entity_id: 8786725c5d003cda803fcf4eaf81e1b0 domain: switch trigger: device conditions: [] actions: - type: turn_on device_id: 96da67373a6e8b756058ed6a488f88b8 entity_id: 8786725c5d003cda803fcf4eaf81e1b0 domain: switch mode: single - id: '1730581432753' alias: Play Album on Spotify description: Play an album from its barcode triggers: - entity_id: - sensor.album_barcode trigger: state conditions: - condition: template value_template: '{{ trigger.to_state.state not in [''unknown'', ''unavailable'', ''blank''] }}' actions: - action: rest_command.barcode_api metadata: {} data: barcode: '{{ trigger.to_state.state }}' response_variable: barcode_response - if: - condition: template value_template: '{{ barcode_response[''status''] == 200 }}' then: - action: tts.speak metadata: {} data: cache: false language: en-au media_player_entity_id: media_player.andrew_office_speaker message: Playing {{ barcode_response['content']['name'] }} by {{ barcode_response['content']['artist'] }}. target: entity_id: tts.google_en_com - delay: hours: 0 minutes: 0 seconds: 3 milliseconds: 0 - action: spotcast.start metadata: {} data: limit: 20 force_playback: false offset: 0 ignore_fully_played: false device_name: Andrew Office speaker uri: spotify:album:{{ barcode_response['content']['spotify_id'] }} else: - if: - condition: template value_template: '{{ barcode_response[''status''] == 404 }}' then: - action: tts.speak metadata: {} data: cache: false language: en-au media_player_entity_id: media_player.andrew_office_speaker message: Error {{ barcode_response['content']['detail'] }} target: entity_id: tts.google_en_com mode: single - id: '1702178086494' alias: Garage - Close Door description: '' trigger: - type: opened platform: device device_id: 7dae4a8d5cbcc4b29b8dbba9c82a69e1 entity_id: 32c87f38e5630da372418730c22cda75 domain: binary_sensor for: hours: 0 minutes: 10 seconds: 0 condition: [] action: - device_id: 4c1af0d0e035d96dc72c313fc6b2ff0a domain: cover entity_id: c715f6e3c21040902f0c24e69c42d01d type: close - service: notify.mobile_app_andrew_phone data: message: The Garage Door was left open and is being closed. Check door sensor status mode: single - id: '1702180779437' alias: Back Door Alarm description: 'Alerts the back door is open after 2am ' trigger: - type: opened platform: device device_id: ad66ddfd4d483f21a26b2147b309cd91 entity_id: 97580b3d9364cd2c721426c313bda444 domain: binary_sensor condition: - condition: time after: 02:00:00 before: 05:15:00 weekday: - sun - mon - tue - wed - thu - fri - sat action: - service: script.unmute_googles data: {} - service: media_player.play_media target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/cloud?message=Guest+Door+has+opened%21&language=en-AU&voice=NatashaNeural media_content_type: provider metadata: title: Back Door has opened! thumbnail: https://brands.home-assistant.io/_/cloud/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/cloud?message=Guest+Door+has+opened%21&language=en-AU&voice=NatashaNeural mode: single - id: '1702181171438' alias: Front Door Alarm description: Alerts if the front door has opened after 2am trigger: - type: opened platform: device device_id: c1f3999e996e763ee5b43ccb15b07bdb entity_id: e1ae61610e9197c84b4453b049c69657 domain: binary_sensor condition: - condition: time after: 02:00:00 before: 05:15:00 weekday: - sun - mon - tue - wed - thu - fri - sat action: - service: script.unmute_googles data: {} - service: media_player.play_media target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/cloud?message=Guest+Door+has+opened%21&language=en-AU&voice=NatashaNeural media_content_type: provider metadata: title: Front Door has opened! thumbnail: https://brands.home-assistant.io/_/cloud/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/cloud?message=Guest+Door+has+opened%21&language=en-AU&voice=NatashaNeural mode: single - id: '1702181231318' alias: Guest Door Alarm description: Alerts if the guest door is opened after 2 am trigger: - type: opened platform: device device_id: a30ac6b5240bbd10e0084ee856194484 entity_id: 113edee161f51eb5782f942d93e06a74 domain: binary_sensor condition: - condition: time after: 02:00:00 before: 05:15:00 weekday: - sun - mon - tue - wed - thu - fri - sat action: - service: script.unmute_googles data: {} - service: media_player.play_media target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/cloud?message=Guest+Door+has+opened%21&language=en-AU&voice=NatashaNeural media_content_type: provider metadata: title: Guest Door has opened! thumbnail: https://brands.home-assistant.io/_/cloud/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/cloud?message=Guest+Door+has+opened%21&language=en-AU&voice=NatashaNeural mode: single - id: '1702762557004' alias: Garage - Door Alarm description: Alerts if the garage door opens after 2:30 AM trigger: - type: opened platform: device device_id: 7dae4a8d5cbcc4b29b8dbba9c82a69e1 entity_id: 32c87f38e5630da372418730c22cda75 domain: binary_sensor condition: - condition: time before: 05:15:00 after: 02:00:00 action: - service: script.unmute_googles data: {} - service: media_player.play_media target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/cloud?message=Garage+Door+has+opened%21&language=en-AU&voice=NatashaNeural media_content_type: provider metadata: title: Garage Door has opened! thumbnail: https://brands.home-assistant.io/_/cloud/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/cloud?message=Garage+Door+has+opened%21&language=en-AU&voice=NatashaNeural mode: single - id: '1702765224675' alias: Alarm Notification description: Send notifications if doors are opened when Alarm is armed trigger: - type: opened platform: device device_id: c1f3999e996e763ee5b43ccb15b07bdb entity_id: e1ae61610e9197c84b4453b049c69657 domain: binary_sensor - type: opened platform: device device_id: ad66ddfd4d483f21a26b2147b309cd91 entity_id: 97580b3d9364cd2c721426c313bda444 domain: binary_sensor - type: opened platform: device device_id: a30ac6b5240bbd10e0084ee856194484 entity_id: 113edee161f51eb5782f942d93e06a74 domain: binary_sensor - type: opened platform: device device_id: 7dae4a8d5cbcc4b29b8dbba9c82a69e1 entity_id: 32c87f38e5630da372418730c22cda75 domain: binary_sensor condition: - condition: or conditions: - condition: state entity_id: alarm_control_panel.home_alarm state: armed_away - condition: state entity_id: alarm_control_panel.home_alarm state: armed_night - condition: state entity_id: alarm_control_panel.home_alarm state: armed_vacation action: - service: script.unmute_googles data: {} - service: media_player.play_media target: entity_id: media_player.whole_house data: media_content_id: media-source://tts/cloud?message=Alarm%21+The+Alarm+is+armed+and+a+door+has+opened%21&language=en-AU&voice=NatashaNeural media_content_type: provider metadata: title: Alarm! The Alarm is armed and a door has opened! thumbnail: https://brands.home-assistant.io/_/cloud/logo.png media_class: app children_media_class: null navigateIds: - {} - media_content_type: app media_content_id: media-source://tts - media_content_type: provider media_content_id: media-source://tts/cloud?message=Alarm%21+The+Alarm+is+armed+and+a+door+has+opened%21&language=en-AU&voice=NatashaNeural - service: notify.mobile_app_andrew_phone data: message: Alarm! A door has opened when alarm is armed - service: notify.mobile_app_iphone data: message: Alarm! A door has opened when alarm is armed mode: single - id: '1733195685236' alias: Front Door - Turn out outside lights description: '' triggers: - type: opened device_id: c1f3999e996e763ee5b43ccb15b07bdb entity_id: e1ae61610e9197c84b4453b049c69657 domain: binary_sensor trigger: device conditions: - condition: sun before: sunrise after: sunset actions: - action: light.turn_on metadata: {} data: {} target: entity_id: light.front_outside_lights - if: - condition: and conditions: - condition: device type: is_off device_id: e435d4107048faee192e3dd667f5d4ca entity_id: e9cbc3bc7c0faf74053aa8b27683bf3c domain: light - condition: device type: is_off device_id: 6152020e0378864c4a20113579228fc7 entity_id: 523ea3f7acdbc9ba1dea2502aa888eb2 domain: light - condition: device type: is_off device_id: a78101786aa87c42d75b72f0022d371b entity_id: dd9f2bda363c4712a7a9273e4bc5ac56 domain: light then: - type: turn_on device_id: 9c44d400c001402e0b9594c3bfe35f0f entity_id: 46b3ac95efbc03f7857a6e1233a68b0d domain: switch mode: single - id: '1732593887276' alias: Holiday Mantle Lights - On description: '' triggers: - trigger: time at: '18:00:00' conditions: - condition: not conditions: - condition: state entity_id: alarm_control_panel.home_alarm state: armed_vacation actions: - type: turn_on device_id: badb29c5b3232dbb20cfc8d6b3ffa21a entity_id: f0a936abb4128ecc9c37b6661b588beb domain: switch - type: turn_on device_id: badb29c5b3232dbb20cfc8d6b3ffa21a entity_id: ed9ead48aa0e43ad14ef82cfc65a81e4 domain: switch mode: single - id: '1732594009144' alias: Holiday Mantle Lights - Off description: '' triggers: - trigger: time at: '23:50:00' conditions: [] actions: - type: turn_off device_id: badb29c5b3232dbb20cfc8d6b3ffa21a entity_id: f0a936abb4128ecc9c37b6661b588beb domain: switch - type: turn_off device_id: badb29c5b3232dbb20cfc8d6b3ffa21a entity_id: ed9ead48aa0e43ad14ef82cfc65a81e4 domain: switch mode: single - id: e722179262501 alias: Andrew Desk Scene Fan description: Toggle Ceiling Fan trigger: - platform: device domain: mqtt device_id: d35f08e32a05bb5ae505e6b603c5ffc0 type: action subtype: double discovery_id: 0xa4c13847cfcadf5a action_double condition: [] action: - type: toggle device_id: 19deda7b6bdff19e9113c4c9e3b8d148 entity_id: b659ad2b1a3c69b27f333beb7dba15df domain: fan mode: single - id: '1723239436568' alias: Server Room Humidity Control - On description: '' trigger: - platform: numeric_state entity_id: - sensor.0xa4c13836f85acf7b_humidity for: hours: 0 minutes: 15 seconds: 0 attribute: humidity above: 45 condition: [] action: - service: humidifier.turn_on data: {} target: device_id: 0f6eb3054c895780c1c9933885512c29 - service: humidifier.set_mode data: mode: Continuous target: device_id: 0f6eb3054c895780c1c9933885512c29 mode: single - id: '1723239596580' alias: Server Room Humidity Control - Off description: '' trigger: - platform: numeric_state entity_id: - sensor.0xa4c13836f85acf7b_humidity for: hours: 0 minutes: 15 seconds: 0 attribute: humidity below: 40 condition: [] action: - device_id: 0f6eb3054c895780c1c9933885512c29 domain: humidifier entity_id: 51776371a6951a263aa1aa05516830dc type: set_humidity humidity: 60 - device_id: 0f6eb3054c895780c1c9933885512c29 domain: humidifier entity_id: 51776371a6951a263aa1aa05516830dc type: set_mode mode: Set mode: single - id: '1731468651677' alias: Coffee Pot Auto Off description: '' triggers: - type: turned_on device_id: 9f33284c5bf24e3ddd321ed6cdaf0ab6 entity_id: 8fb0d306483d9b68fb27f05e8019bdd0 domain: switch trigger: device for: hours: 7 minutes: 0 seconds: 0 conditions: [] actions: - if: - condition: device type: is_on device_id: 9f33284c5bf24e3ddd321ed6cdaf0ab6 entity_id: 8fb0d306483d9b68fb27f05e8019bdd0 domain: switch then: - type: turn_off device_id: 9f33284c5bf24e3ddd321ed6cdaf0ab6 entity_id: 8fb0d306483d9b68fb27f05e8019bdd0 domain: switch mode: single - id: '1731468512695' alias: Coffee Pot Weekday Turn On description: '' triggers: - trigger: time at: 06:20:00 conditions: - condition: not conditions: - condition: state entity_id: alarm_control_panel.home_alarm state: armed_vacation - condition: device type: is_off device_id: 9f33284c5bf24e3ddd321ed6cdaf0ab6 entity_id: 8fb0d306483d9b68fb27f05e8019bdd0 domain: switch - condition: time weekday: - mon - tue - wed - thu - fri after: 06:00:00 before: 07:00:00 mode: single actions: - action: script.turn_on_coffee_pot data: {} - id: '1731468829098' alias: Coffee Pot Weekend Turn On description: '' triggers: - trigger: time at: 08:00:00 conditions: - condition: not conditions: - condition: state entity_id: alarm_control_panel.home_alarm state: armed_vacation - condition: device type: is_off device_id: 9f33284c5bf24e3ddd321ed6cdaf0ab6 entity_id: 8fb0d306483d9b68fb27f05e8019bdd0 domain: switch - condition: time weekday: - sun - sat after: 07:00:00 before: 09:00:00 mode: single actions: - action: script.turn_on_coffee_pot data: {} - id: '1733194601236' alias: Kitchen - Turn on Cabinet Lights with Switch description: '' triggers: - domain: mqtt device_id: e435d4107048faee192e3dd667f5d4ca type: action subtype: up_single trigger: device conditions: - condition: device type: is_on device_id: e435d4107048faee192e3dd667f5d4ca entity_id: e9cbc3bc7c0faf74053aa8b27683bf3c domain: light for: hours: 0 minutes: 0 seconds: 0.5 actions: - action: light.turn_on metadata: {} data: {} target: entity_id: - light.left_cabinet_light - light.right_cabinet_light mode: single - id: '1733194901295' description: '' mode: single triggers: - domain: mqtt device_id: e435d4107048faee192e3dd667f5d4ca type: action subtype: down_single trigger: device conditions: - condition: device type: is_off device_id: e435d4107048faee192e3dd667f5d4ca entity_id: e9cbc3bc7c0faf74053aa8b27683bf3c domain: light for: hours: 0 minutes: 0 seconds: 0.5 actions: - action: light.turn_off metadata: {} data: {} target: entity_id: - light.left_cabinet_light - light.right_cabinet_light - id: f722179171314 alias: Andrew Desk Scene Light description: Toggle overhead light trigger: - platform: device domain: mqtt device_id: d35f08e32a05bb5ae505e6b603c5ffc0 type: action subtype: single discovery_id: 0xa4c13847cfcadf5a action_single condition: [] action: - type: toggle device_id: 11e91d0311357f1ddf76ee2534f0032f entity_id: 4dee304cb01dd92521221fa7c99d6aab domain: switch mode: single - id: '1720238653234' alias: Andrew Office - Closet Light - Turn Off description: '' trigger: - type: not_opened platform: device device_id: 4472bcf23fbcb63dc44c2d74236324bf entity_id: 60c5d8b5b2706f6932bda00679d76f94 domain: binary_sensor for: hours: 0 minutes: 3 seconds: 0 condition: [] action: - type: turn_off device_id: 18d12bca4bbc78ef7251b06af873e30c entity_id: 3efca776d0eb43194d64e809d77273f5 domain: switch mode: single - id: '1720238411435' alias: Andrew Office - Closet Light - Turn On description: '' trigger: - type: opened platform: device device_id: 4472bcf23fbcb63dc44c2d74236324bf entity_id: 60c5d8b5b2706f6932bda00679d76f94 domain: binary_sensor condition: [] action: - type: turn_on device_id: 18d12bca4bbc78ef7251b06af873e30c entity_id: 3efca776d0eb43194d64e809d77273f5 domain: switch mode: single - id: 1720e27457241 alias: Garage - Motion Detected Lights Off description: '' trigger: - type: no_motion platform: device device_id: 8c0115137048df13e4becc930eead8e9 entity_id: 5a89660da26772c48a5904f0220a4ab8 domain: binary_sensor for: hours: 0 minutes: 8 seconds: 0 condition: [] action: - service: switch.turn_off data: {} target: device_id: 9bb558f103cdb50f6ccc9f3e22b7565b mode: single - id: 172031747201e alias: Garage - Motion Detected Lights On description: '' trigger: - type: motion platform: device device_id: 8c0115137048df13e4becc930eead8e9 entity_id: 5a89660da26772c48a5904f0220a4ab8 domain: binary_sensor for: hours: 0 minutes: 0 seconds: 1 condition: [] action: - service: switch.turn_on data: {} target: device_id: 9bb558f103cdb50f6ccc9f3e22b7565b mode: single - id: '1702170482832' alias: Front Door Outside Light Switch description: Turns on Garage Outside lights when front lights are turned on trigger: - platform: device type: turned_on device_id: 9c44d400c001402e0b9594c3bfe35f0f entity_id: 46b3ac95efbc03f7857a6e1233a68b0d domain: switch condition: [] action: - service: switch.turn_on data: {} target: device_id: c5e27b8ae4f14d94dd4639eb65da4bf3 mode: single - id: '1702170644129' alias: Front Door Outside Lights Off description: Turns off all outside lights when the front door siwtch is turned off trigger: - platform: device type: turned_off device_id: 3eba65c05e61fef83bfa0547f1956962 entity_id: 21ff95cb2cac1c4ca2ead2adfc71eb56 domain: switch condition: [] action: - service: switch.turn_off data: {} target: device_id: c5e27b8ae4f14d94dd4639eb65da4bf3 mode: single - id: '1702171178637' alias: Front Door Outside Light On description: Turn on the outside lights with the front door switch trigger: - platform: device type: turned_on device_id: 3eba65c05e61fef83bfa0547f1956962 entity_id: 21ff95cb2cac1c4ca2ead2adfc71eb56 domain: switch condition: [] action: - service: switch.turn_on data: {} target: device_id: c5e27b8ae4f14d94dd4639eb65da4bf3 mode: single - id: '1702178730678' alias: Garage - Lights Off 2 hours description: Turn off Inside Garage Lights after 2 hours trigger: - platform: device type: turned_on device_id: 9bb558f103cdb50f6ccc9f3e22b7565b entity_id: 86277647f06485a0662d348a5fc9e3b7 domain: switch for: hours: 2 minutes: 0 seconds: 0 condition: [] action: - service: switch.turn_off data: {} target: device_id: 9bb558f103cdb50f6ccc9f3e22b7565b mode: single - id: '1702178907322' alias: Turn off Outside Lights after 3am description: Outside lights will get turns off after 3am when they've been on 30 minutes trigger: - platform: device type: turned_on device_id: c5e27b8ae4f14d94dd4639eb65da4bf3 entity_id: a6fd7ba9a4db35a32ff9975a17b02cab domain: switch for: hours: 0 minutes: 30 seconds: 0 - platform: device type: turned_on device_id: 3eba65c05e61fef83bfa0547f1956962 entity_id: 21ff95cb2cac1c4ca2ead2adfc71eb56 domain: switch for: hours: 0 minutes: 30 seconds: 0 condition: - condition: time after: 03:30:00 weekday: - sun - mon - tue - wed - thu - fri - sat action: - service: switch.turn_off data: {} target: device_id: - c5e27b8ae4f14d94dd4639eb65da4bf3 - service: switch.turn_off data: {} target: device_id: 3eba65c05e61fef83bfa0547f1956962 mode: single - id: '1723679348519' alias: Laundry Hall Light Motion description: '' trigger: - type: occupied platform: device device_id: deba1160a5b4471cde16d7184102b6c1 entity_id: 2e47e595cce2ab15407be58d7f7ed766 domain: binary_sensor condition: - condition: and conditions: - condition: sun before: sunrise after: sunset - condition: device type: is_off device_id: ddb7def683e80924aab3cdb71cd8ed9a entity_id: 603706d81b7011e6058117fa73520fcf domain: switch - condition: device type: is_off device_id: e435d4107048faee192e3dd667f5d4ca entity_id: e9cbc3bc7c0faf74053aa8b27683bf3c domain: light - condition: device type: is_off device_id: 6152020e0378864c4a20113579228fc7 entity_id: 523ea3f7acdbc9ba1dea2502aa888eb2 domain: light - condition: state entity_id: input_boolean.bedtime state: 'off' action: - service: switch.turn_on data: {} target: device_id: ddb7def683e80924aab3cdb71cd8ed9a - delay: hours: 0 minutes: 1 seconds: 45 milliseconds: 0 - service: switch.turn_off data: {} target: device_id: ddb7def683e80924aab3cdb71cd8ed9a mode: single - id: '1723686531707' alias: Hall Light Motion description: '' trigger: - type: motion platform: device device_id: 574df819d6ed51ff801ac0954fdae326 entity_id: 46f85b6131675fb66c4bea4c410b1e78 domain: binary_sensor condition: - condition: and conditions: - condition: sun before: sunrise after: sunset - condition: device type: is_off device_id: a7631bf2bc83f8cf76bbabd030fb3a21 entity_id: 28a033ea7c11c781f7741428046400dc domain: switch action: - service: switch.turn_on data: {} target: device_id: a7631bf2bc83f8cf76bbabd030fb3a21 - delay: hours: 0 minutes: 1 seconds: 30 milliseconds: 0 - service: switch.turn_off data: {} target: device_id: a7631bf2bc83f8cf76bbabd030fb3a21 mode: single - id: '1723763654328' alias: Hall Closet Door - Closed description: '' trigger: - type: not_opened platform: device device_id: 0750e2972daec5c817cd3aa29826386b entity_id: c7a84d202c74784446b389ec2a002313 domain: binary_sensor for: hours: 0 minutes: 0 seconds: 4 condition: [] action: - service: script.unmute_googles data: {} - service: switch.turn_off data: {} target: device_id: a7631bf2bc83f8cf76bbabd030fb3a21 mode: single - id: '1723763559728' alias: Hall Closet Door - Open description: '' trigger: - type: opened platform: device device_id: 0750e2972daec5c817cd3aa29826386b entity_id: c7a84d202c74784446b389ec2a002313 domain: binary_sensor for: hours: 0 minutes: 0 seconds: 0 condition: - condition: device type: is_off device_id: a7631bf2bc83f8cf76bbabd030fb3a21 entity_id: 28a033ea7c11c781f7741428046400dc domain: switch action: - service: switch.turn_on data: {} target: device_id: a7631bf2bc83f8cf76bbabd030fb3a21 mode: single - id: '1724521847672' alias: Hall Light Extra Switch description: '' trigger: - platform: device domain: mqtt device_id: bc5764e2cd21b5acfd90133034a8c393 type: action subtype: single discovery_id: 0xa4c1388104b2413b action_single condition: [] action: - service: switch.toggle data: {} target: entity_id: switch.hall_switch_hall_light mode: single - id: '1724724800380' alias: Andrew Bedside Lamp Long Press description: '' trigger: [] condition: [] action: - service: input_boolean.turn_on data: {} target: entity_id: input_boolean.bedtime mode: single - id: '1724724786494' alias: Andrew Bedside Lamp Medium Press description: '' trigger: [] condition: [] action: - service: fan.toggle data: {} target: device_id: 330f6e439343c2295b686a684b053a97 mode: single - id: '1724809420968' alias: Sarah Bedside Lamp Medium Press description: '' trigger: [] condition: [] action: - service: fan.toggle data: {} target: device_id: ee9594b3fa11ae3b8339623c3f9bce79 mode: single - id: '1724809495511' alias: Sarah Bedside Lamp Long Press description: '' trigger: [] condition: [] action: - service: input_boolean.turn_on data: {} target: entity_id: input_boolean.bedtime mode: single - id: '1725208230621' alias: Bedtime Routine description: '' trigger: - platform: state entity_id: - input_boolean.bedtime from: 'off' to: 'on' condition: [] action: - service: script.goodnight data: {} - service: script.holday_lights_off data: {} mode: single - id: '1726286514731' alias: Garage Door Triggers Outside Lights After Dark description: '' trigger: - type: opened platform: device device_id: 7dae4a8d5cbcc4b29b8dbba9c82a69e1 entity_id: 32c87f38e5630da372418730c22cda75 domain: binary_sensor condition: - condition: sun before: sunrise after: sunset action: - service: switch.turn_on data: {} target: device_id: - c5e27b8ae4f14d94dd4639eb65da4bf3 - 3eba65c05e61fef83bfa0547f1956962 - delay: hours: 0 minutes: 10 seconds: 0 milliseconds: 0 - service: switch.turn_off data: {} target: device_id: - c5e27b8ae4f14d94dd4639eb65da4bf3 - 3eba65c05e61fef83bfa0547f1956962 mode: single - id: '1729724161281' alias: Server Room Light On description: '' triggers: - type: opened device_id: d5423a53609f06bd075fd8e6ae18103e entity_id: 2f9fdb7cab4cf421759d8653a9f5e6f6 domain: binary_sensor metadata: secondary: false trigger: device conditions: [] actions: - action: light.turn_on metadata: {} data: brightness_pct: 75 target: device_id: 13cbc704237cfb34fe7a26c390c5a7ac mode: single - id: '1729724185477' alias: Server Room Light Off description: '' triggers: - type: not_occupied device_id: a8c3209dc79fa853bf3f60d1778e1cca entity_id: c788a9679e8779807f5cd84f17e60a64 domain: binary_sensor trigger: device for: hours: 0 minutes: 1 seconds: 0 conditions: [] actions: - action: light.turn_off metadata: {} data: transition: 3 target: device_id: 13cbc704237cfb34fe7a26c390c5a7ac mode: single - id: '1731209750053' alias: Bed Nightlight On description: '' triggers: - type: not_occupied device_id: 0941b8f3bf78435b2a97f8d973784972 entity_id: 0b09146668048009e088922fe70c0599 domain: binary_sensor trigger: device for: hours: 0 minutes: 0 seconds: 1.5 - type: not_occupied device_id: 0941b8f3bf78435b2a97f8d973784972 entity_id: 581cced5ecffadeb990a2153920526ff domain: binary_sensor trigger: device for: hours: 0 minutes: 0 seconds: 1.5 conditions: - condition: and conditions: - condition: state entity_id: input_boolean.bedtime state: 'on' - condition: device type: is_off device_id: 1aff6d81460377c7c1b7a72e85f95156 entity_id: d9bbcfdb6db8922de0fd5fa4dbb9649a domain: light - condition: device type: is_off device_id: 2118e7b0cbcce48655cf4ab0ad0de12a entity_id: 2653847a270920b2dde013dcc5936aef domain: light - condition: sun before: sunrise after: sunset actions: - action: light.turn_on target: device_id: - 553a209d5c875a36d62352466f0705cf data: brightness_pct: 15 kelvin: 3500 - type: turn_on device_id: 553a209d5c875a36d62352466f0705cf entity_id: 6fb220d1b8aa9f2f47029e0bc559e4d5 domain: switch mode: single - id: '1731209833945' alias: Bed Nightlight Off description: '' triggers: - type: occupied device_id: 0941b8f3bf78435b2a97f8d973784972 entity_id: 097aee16ad16a91cff05625d30c3b7ce domain: binary_sensor trigger: device for: hours: 0 minutes: 0 seconds: 10 conditions: - condition: device type: is_on device_id: 553a209d5c875a36d62352466f0705cf entity_id: 5c265e66f4ce4f820a31b1bf755a990c domain: light actions: - action: light.turn_off metadata: {} data: transition: 10 target: device_id: 553a209d5c875a36d62352466f0705cf mode: single - id: '1731720478003' alias: Living Room Lights Toggle description: '' triggers: - domain: mqtt device_id: 6152020e0378864c4a20113579228fc7 type: action subtype: down_single trigger: device conditions: - condition: device type: is_off device_id: 6152020e0378864c4a20113579228fc7 entity_id: 523ea3f7acdbc9ba1dea2502aa888eb2 domain: light actions: - action: light.turn_on metadata: {} data: {} target: device_id: 6152020e0378864c4a20113579228fc7 mode: single - id: '1731720406983' alias: Kitchen Lights Toggle On description: '' triggers: - domain: mqtt device_id: e435d4107048faee192e3dd667f5d4ca type: action subtype: down_single trigger: device conditions: - condition: device type: is_off device_id: e435d4107048faee192e3dd667f5d4ca entity_id: e9cbc3bc7c0faf74053aa8b27683bf3c domain: light actions: - action: light.turn_on metadata: {} data: {} target: device_id: e435d4107048faee192e3dd667f5d4ca mode: single - id: '1731806209519' alias: Bed Light Toggle description: Toggles the under bed lighting and turns on its night light to turn it off in 8 minutes triggers: - domain: mqtt device_id: 2717ee03c47a71d850620250e98f4769 type: action subtype: single metadata: {} trigger: device conditions: [] actions: - action: light.toggle target: device_id: - 553a209d5c875a36d62352466f0705cf data: brightness_pct: 15 kelvin: 3500 - if: - condition: device type: is_on device_id: 553a209d5c875a36d62352466f0705cf entity_id: 5c265e66f4ce4f820a31b1bf755a990c domain: light then: - type: turn_on device_id: 553a209d5c875a36d62352466f0705cf entity_id: 6fb220d1b8aa9f2f47029e0bc559e4d5 domain: switch mode: single - id: 173a2106209512 alias: Front Door Motion Detected - Turn on Lights description: '1734908362620' triggers: - type: turned_on device_id: 37a04f3462e2173a8a54bb496d4bc63f entity_id: 64a868d7b5d577378538946e29c8f816 domain: binary_sensor trigger: device conditions: - condition: sun before: sunrise after: sunset actions: - type: turn_on device_id: 3eba65c05e61fef83bfa0547f1956962 entity_id: 1655257281ca57b25336a54eb80b8943 domain: light - delay: hours: 0 minutes: 10 seconds: 0 milliseconds: 0 - type: turn_off device_id: 3eba65c05e61fef83bfa0547f1956962 entity_id: 1655257281ca57b25336a54eb80b8943 domain: light mode: single - id: '1735427612125' alias: MBR Switch - Sarah Bedside description: '' triggers: - domain: mqtt device_id: d9a701a6a7017064038828533ee852e3 type: action subtype: 1_single metadata: {} trigger: device conditions: [] actions: - action: light.toggle metadata: {} data: {} target: device_id: 2118e7b0cbcce48655cf4ab0ad0de12a mode: single - id: '1735428176466' alias: MBR Switch - All Light Toggle description: '' triggers: - domain: mqtt device_id: d9a701a6a7017064038828533ee852e3 type: action subtype: 4_single trigger: device conditions: [] actions: - if: - condition: or conditions: - condition: device type: is_on device_id: 1aff6d81460377c7c1b7a72e85f95156 entity_id: d9bbcfdb6db8922de0fd5fa4dbb9649a domain: light - condition: device type: is_on device_id: 2118e7b0cbcce48655cf4ab0ad0de12a entity_id: 2653847a270920b2dde013dcc5936aef domain: light - condition: device type: is_on device_id: 553a209d5c875a36d62352466f0705cf entity_id: 5c265e66f4ce4f820a31b1bf755a990c domain: light - condition: device type: is_on device_id: 553a209d5c875a36d62352466f0705cf entity_id: 6fb220d1b8aa9f2f47029e0bc559e4d5 domain: switch then: - action: light.turn_off metadata: {} data: {} target: device_id: - 1aff6d81460377c7c1b7a72e85f95156 - 2118e7b0cbcce48655cf4ab0ad0de12a - 553a209d5c875a36d62352466f0705cf - type: turn_off device_id: 553a209d5c875a36d62352466f0705cf entity_id: 6fb220d1b8aa9f2f47029e0bc559e4d5 domain: switch else: - action: light.turn_on metadata: {} data: brightness_pct: 80 target: device_id: - 1aff6d81460377c7c1b7a72e85f95156 - 2118e7b0cbcce48655cf4ab0ad0de12a - 553a209d5c875a36d62352466f0705cf - type: turn_on device_id: 553a209d5c875a36d62352466f0705cf entity_id: 6fb220d1b8aa9f2f47029e0bc559e4d5 domain: switch mode: single - id: '1735427792759' alias: MBR Switch - Andrew Bedside description: '' triggers: - domain: mqtt device_id: d9a701a6a7017064038828533ee852e3 type: action subtype: 2_single trigger: device conditions: [] actions: - action: light.toggle metadata: {} data: {} target: device_id: 1aff6d81460377c7c1b7a72e85f95156 mode: single - id: '1735427899807' alias: MBR Switch - Bed Lights description: '' triggers: - domain: mqtt device_id: d9a701a6a7017064038828533ee852e3 type: action subtype: 3_single trigger: device conditions: [] actions: - type: toggle device_id: 553a209d5c875a36d62352466f0705cf entity_id: 6fb220d1b8aa9f2f47029e0bc559e4d5 domain: switch - action: light.toggle metadata: {} data: brightness_pct: 80 target: device_id: 553a209d5c875a36d62352466f0705cf mode: single - id: '1720227557250' alias: Andrew Office - Motion - Turn off description: '' triggers: - type: not_occupied device_id: dd87a288d82bec3576e61e4262eb5dca entity_id: fca1bfde3eecad996d50369c2057afa3 domain: binary_sensor trigger: device for: hours: 0 minutes: 5 seconds: 0 conditions: - condition: and conditions: - condition: time after: '23:30:00' before: 09:00:00 weekday: - sun - mon - tue - wed - fri - thu - sat - type: is_not_occupied condition: device device_id: 6b4c828e6eebb3ae414f6cfc7899b849 entity_id: 36955ac8a9c0f6f8915d6be5c1c6e407 domain: binary_sensor actions: - data: {} target: device_id: 19deda7b6bdff19e9113c4c9e3b8d148 action: fan.turn_off - data: {} target: device_id: 11e91d0311357f1ddf76ee2534f0032f action: switch.turn_off - data: {} target: device_id: 18d12bca4bbc78ef7251b06af873e30c action: switch.turn_off mode: single - id: '1720227551234' alias: Andrew Office - Motion - Turn on Fan description: '' triggers: - type: occupied device_id: 4321cd9d0cb66e63c9a8e3f8eb1a9985 entity_id: 4f7e7755b10c1bf7a8f25152e81331de domain: binary_sensor trigger: device conditions: - condition: and conditions: - type: is_temperature condition: device device_id: 99659a54d8c94c7919bd056fadca1a8b entity_id: 83ca9c2ad57b2148c848132e5818c686 domain: sensor above: 70 - condition: device device_id: 19deda7b6bdff19e9113c4c9e3b8d148 domain: fan entity_id: b659ad2b1a3c69b27f333beb7dba15df type: is_off actions: - data: percentage: 100 target: device_id: 19deda7b6bdff19e9113c4c9e3b8d148 action: fan.turn_on mode: single - id: '1728328832915' alias: Couch Empty Turns off Ceiling Fan description: '' trigger: - platform: state entity_id: - binary_sensor.couch_occupancy from: 'on' to: 'off' for: hours: 0 minutes: 25 seconds: 30 condition: [] action: - type: turn_off device_id: 2526bb69f082e014611d2cf1d871b453 entity_id: 5a6cc7775d12b73edca0bbb289026cf2 domain: fan mode: single - id: '1728328785840' alias: Couch Occupied Turns on Ceiling Fan description: '' trigger: - platform: state entity_id: - binary_sensor.couch_occupancy from: 'off' to: 'on' for: hours: 0 minutes: 1 seconds: 30 condition: - condition: numeric_state entity_id: sensor.inside_temp above: 70 action: - type: turn_on device_id: 2526bb69f082e014611d2cf1d871b453 entity_id: 5a6cc7775d12b73edca0bbb289026cf2 domain: fan mode: single - id: '1731099589543' alias: Living Room Presence Clear - Turn off Fan description: '' triggers: - type: not_occupied device_id: de3640b690a3c27ebcfe00e2481211cf entity_id: 061f29f35090bd6986042dbe7297d948 domain: binary_sensor trigger: device for: hours: 0 minutes: 5 seconds: 0 conditions: [] actions: - type: turn_off device_id: 2526bb69f082e014611d2cf1d871b453 entity_id: 5a6cc7775d12b73edca0bbb289026cf2 domain: fan mode: single - id: '1731100345732' alias: Living Room Presence Clear - Lights Off or Dim description: '' triggers: - type: not_occupied device_id: de3640b690a3c27ebcfe00e2481211cf entity_id: 061f29f35090bd6986042dbe7297d948 domain: binary_sensor trigger: device for: hours: 0 minutes: 5 seconds: 0 conditions: - condition: state entity_id: input_boolean.bedtime state: 'off' actions: - if: - condition: sun before: sunset after: sunrise then: - action: light.turn_off metadata: {} data: {} target: area_id: living_room else: - if: - condition: device type: is_on device_id: e435d4107048faee192e3dd667f5d4ca entity_id: e9cbc3bc7c0faf74053aa8b27683bf3c domain: light then: - action: light.turn_off metadata: {} data: {} target: area_id: living_room else: - action: light.turn_on metadata: {} data: brightness_pct: 20 transition: 5 target: device_id: 6152020e0378864c4a20113579228fc7 mode: single - id: '1731100894076' alias: Living Room Presence Found - Lights On description: '' triggers: - type: occupied device_id: de3640b690a3c27ebcfe00e2481211cf entity_id: 061f29f35090bd6986042dbe7297d948 domain: binary_sensor trigger: device for: hours: 0 minutes: 0 seconds: 5 conditions: - condition: and conditions: - condition: sun before: sunrise after: sunset - condition: state entity_id: input_boolean.bedtime state: 'off' - condition: device type: is_off device_id: e435d4107048faee192e3dd667f5d4ca entity_id: e9cbc3bc7c0faf74053aa8b27683bf3c domain: light actions: - action: light.turn_on metadata: {} data: transition: 1 brightness_pct: 75 target: device_id: 6152020e0378864c4a20113579228fc7 mode: single - id: '1723411785814' alias: Radio Rack - Fans Off description: '' trigger: - platform: numeric_state entity_id: - sensor.radio_rack_temp for: hours: 0 minutes: 5 seconds: 30 below: 80 condition: [] action: - type: turn_off device_id: c8cab263d0e7d8f10a603cc60f97a088 entity_id: 6fdf6bed6417229b0038a7a9c5afe061 domain: switch - type: turn_off device_id: 434f91d521fbfdb52e275a2d988ff932 entity_id: 337d8c942e41746c6bd91d6a7873a78d domain: switch mode: single - id: '1723411836257' alias: Radio Rack - Large Fan On description: '' trigger: - platform: numeric_state entity_id: - sensor.radio_rack_temp for: hours: 0 minutes: 1 seconds: 30 above: 85 condition: [] action: - type: turn_on device_id: 434f91d521fbfdb52e275a2d988ff932 entity_id: 76ef8d3bdb49bfde7621410e9242ab8e domain: fan mode: single - id: '1723411753463' alias: Radio Rack - Small Fan On description: '' trigger: - platform: numeric_state entity_id: - sensor.radio_rack_temp for: hours: 0 minutes: 1 seconds: 30 above: 80 condition: [] action: - type: turn_on device_id: c8cab263d0e7d8f10a603cc60f97a088 entity_id: 56e8b1cd31b14cbb22e602b676889326 domain: fan mode: single