diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/automations.yaml b/automations.yaml old mode 100644 new mode 100755 index 0637a08..b015d61 --- a/automations.yaml +++ b/automations.yaml @@ -1 +1,63 @@ -[] \ No newline at end of file +- id: '1627952406585' + alias: Turn off the lab lights when Joe is away. + description: '' + trigger: + - platform: zone + entity_id: person.joe + zone: zone.home + event: leave + condition: [] + action: + - type: turn_off + device_id: d03b2a6c6faf5921d77b4145ffe3afa8 + entity_id: switch.lab_lights + domain: switch + mode: single +- id: '1627952464320' + alias: Turn on lab lights when Joe arrives. + description: '' + trigger: + - platform: zone + entity_id: person.joe + zone: zone.home + event: enter + condition: [] + action: + - type: turn_on + device_id: d03b2a6c6faf5921d77b4145ffe3afa8 + entity_id: switch.lab_lights + domain: switch + mode: single +- id: '1627953076015' + alias: Turn on lab lights after sunset if Joe is home. + description: '' + trigger: + - platform: sun + event: sunset + condition: + - condition: zone + entity_id: person.joe + zone: zone.home + action: + - type: turn_on + device_id: d03b2a6c6faf5921d77b4145ffe3afa8 + entity_id: switch.lab_lights + domain: switch + mode: single +- id: '1627954003317' + alias: Dim the lab lights + description: This one is a lil silly, it just turns the lights off whenever the + chrome cast is active + trigger: + - platform: device + device_id: f6097a01c7e3e31bb394018e6a8be3e7 + domain: media_player + entity_id: media_player.joe_s_lab + type: playing + condition: [] + action: + - type: turn_off + device_id: d03b2a6c6faf5921d77b4145ffe3afa8 + entity_id: switch.lab_lights + domain: switch + mode: single diff --git a/configuration.yaml b/configuration.yaml old mode 100644 new mode 100755 index 1828512..eadc8a8 --- a/configuration.yaml +++ b/configuration.yaml @@ -6,6 +6,11 @@ default_config: tts: - platform: google_translate +# Google maps +device_tracker: + - platform: google_maps + username: "kenwood364@gmail.com" + group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml diff --git a/groups.yaml b/groups.yaml old mode 100644 new mode 100755 diff --git a/scenes.yaml b/scenes.yaml old mode 100644 new mode 100755 diff --git a/scripts.yaml b/scripts.yaml old mode 100644 new mode 100755