diff --git a/config/packages/garadget.yaml b/config/packages/garadget.yaml index 6819ac52..1164fc05 100755 --- a/config/packages/garadget.yaml +++ b/config/packages/garadget.yaml @@ -436,3 +436,61 @@ automation: - service: script.garage_lights_off + - alias: 'Garage Camera on Alexa Shows' + id: 4373df2a-77f2-4e19-be7c-46c7b27ca583 + mode: single + trigger: + - platform: state + entity_id: + - cover.large_garage_door + - cover.small_garage_door + from: 'closed' + to: 'open' + + - platform: state + entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors + from: 'off' + to: 'on' + + - platform: state + entity_id: + - person.carlo + - person.stacey + - person.paige + - person.justin + to: 'not_home' + from: 'home' + + action: + - choose: + - conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}" + sequence: + - service: media_player.play_media + data: + entity_id: media_player.stacey_bedroom + media_content_id: 'show garage camera from home assistant' + media_content_type: custom + - delay: '00:10:00' + - service: media_player.play_media + data: + entity_id: media_player.stacey_bedroom + media_content_id: 'hide garage camera' + media_content_type: custom + + default: + - service: media_player.play_media + target: + entity_id: media_player.kitchen + data: + media_content_id: 'show garage camera from home assistant' + media_content_type: custom + - delay: '00:20:00' + - service: media_player.play_media + target: + entity_id: media_player.kitchen + data: + media_content_id: 'hide garage camera' + media_content_type: custom + + - service: script.garage_lights_off + diff --git a/ha-version-badge.svg b/ha-version-badge.svg index a9f90856..641a0389 100644 --- a/ha-version-badge.svg +++ b/ha-version-badge.svg @@ -1,16 +1,16 @@ - - 2025.7.1 - + + 2025.7.2 + - - + + - +