diff --git a/.HA_VERSION b/.HA_VERSION index de38eb5..8b27ad7 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -0.103.6 +0.109.0 diff --git a/entity_registry.yaml b/entity_registry.yaml deleted file mode 100644 index 6c1d87b..0000000 --- a/entity_registry.yaml +++ /dev/null @@ -1,45 +0,0 @@ -media_player.den: - config_entry_id: eaa1cb7419a54472870960e9e2fe1241 - name: - platform: sonos - unique_id: RINCON_000E58B651FD01400 -media_player.living_room: - config_entry_id: 49cd1b1ea9bb45bbbcbc3079c7df32f9 - name: Living Room Chromecast - platform: cast - unique_id: 57080e2b-9058-2bdf-6c47-5320d59c2dbd -light.sofa: - config_entry_id: 9781ba7877f84c25b7bfb38cfa536d6e - name: - platform: hue - unique_id: 00:17:88:01:02:ca:f6:7a-0b -light.candle: - config_entry_id: 9781ba7877f84c25b7bfb38cfa536d6e - name: - platform: hue - unique_id: 00:17:88:01:03:6b:55:dc-0b -light.standing_lamp: - config_entry_id: 9781ba7877f84c25b7bfb38cfa536d6e - name: - platform: hue - unique_id: 00:17:88:01:02:8e:88:8b-0b -light.stephanies_nightstand: - config_entry_id: 9781ba7877f84c25b7bfb38cfa536d6e - name: - platform: hue - unique_id: 00:17:88:01:02:f7:0c:8c-0b -light.correls_nightstand: - config_entry_id: 9781ba7877f84c25b7bfb38cfa536d6e - name: - platform: hue - unique_id: 00:17:88:01:02:f7:0c:ba-0b -media_player.plex_firefox: - config_entry_id: - name: - platform: plex - unique_id: 048uoi153vqsg5t6i2sggy6b -media_player.plex_ps4: - config_entry_id: - name: Plex on PS4 - platform: plex - unique_id: x1dr5086xz69xlhfmy8hcris diff --git a/groups.yaml b/groups.yaml index 6d0d537..5c65f2b 100644 --- a/groups.yaml +++ b/groups.yaml @@ -1,42 +1,3 @@ -default_view: - view: yes - icon: mdi:home - entities: - - group.phones - - group.overrides - - binary_sensor.occupied - - binary_sensor.activity - - sun.sun - - weather.dark_sky - -HA: - view: yes - name: HA - entities: - - group.all_automations - - group.all_scripts - - group.all_devices - -Lights: - view: yes - name: Lights - entities: - - device_tracker.huebridge - - group.livingroom_lights - - group.bedroom_lights - -Entertainment: - view: yes - name: Entertainment - entities: - - group.plex_players - - group.sonos_players - - group.roku_players - - group.chromecast - - group.consoles - - group.all_remotes - - binary_sensor.den_night_mode - livingroom_lights: name: Living Room entities: @@ -58,7 +19,6 @@ bedroom_lights: - light.standing_lamp - scene.colorful - scene.speed_of_sound_sonic - consoles: name: Gaming Consoles entities: @@ -79,7 +39,6 @@ phones: - device_tracker.StephaniesIphone - device_tracker.LindasGalaxyS9 - device_tracker.PhilsGalaxyS7Edge - overrides: name: Overrides entities: diff --git a/packages/camera.yaml b/packages/camera.yaml index 44d5bed..e018ab1 100644 --- a/packages/camera.yaml +++ b/packages/camera.yaml @@ -22,14 +22,6 @@ android_ip_webcam: - whitebalance_lock - video_recording group: - Camera: - view: yes - icon: mdi:cctv - entities: - - device_tracker.htconem8 - - camera.living_room_camera - - group.camera_sensors - - group.camera_switches camera_sensors: name: Sensors entities: diff --git a/packages/darksky.yaml b/packages/darksky.yaml index 38c8a3d..8e18836 100644 --- a/packages/darksky.yaml +++ b/packages/darksky.yaml @@ -60,13 +60,6 @@ script: ] | random }} group: - DarkSky: - view: yes - icon: mdi:weather-rainy - entities: - - group.darksky_sensors - - group.darksky_automations - - group.darksky_scripts darksky_sensors: name: Sensors entities: diff --git a/packages/google_home.yaml b/packages/google_home.yaml index 2474498..ef73690 100644 --- a/packages/google_home.yaml +++ b/packages/google_home.yaml @@ -1,10 +1,76 @@ group: - Google: - view: yes - icon: mdi:google-home - entities: - - group.google_players google_players: name: Google entities: - media_player.googlehome1144 +script: + googlehome_tts: + alias: "Google Home TTS" + sequence: + - service: media_player.play_media + data: + entity_id: media_player.googlehome1144 + media_content_id: https://hass.phoenixinquis.is-a-geek.org/local/chime.ogg + media_content_type: music + - delay: '00:00:03' + - service: tts.amazon_polly_say + data_template: + entity_id: media_player.googlehome1144 + message: "{{ message }}" + affirmations: + alias: "Daily affirmations" + sequence: + - service: script.googlehome_tts + data_template: + message: >- + {% set affirmations = [ + "You've got this!", + "You're getting better every day!", + "You're gonna take good care of yourself today!", + "You are appreciated at work!", + "People look up to you!", + "You are loved!", + "You're going to make good progress today!", + ] %} + {% set one = affirmations|random %} + {% set two = affirmations|reject("in", [one])|list|random %} + {% set three = affirmations|reject("in", [one, two])|list|random %} + Hey there, good morning! Let's get the day started. + + You're gonna be okay, + {{ one }} + + I know you've got it in you, + {{ two }} + + Now get on up and get out there, + {{ three }} +automation: + - alias: Daily Affirmations + action: + - service: script.affirmations + data: {} + trigger: + platform: time + at: "07:30:00" + condition: + - condition: state + entity_id: binary_sensor.occupied + state: 'on' + - condition: or + conditions: + - condition: state + entity_id: input_select.sunrise_days + state: Every Day + - condition: and + conditions: + - condition: state + entity_id: input_select.sunrise_days + state: Weekdays + - condition: time + weekday: + - mon + - tue + - wed + - thu + - fri diff --git a/packages/occupancy.yaml b/packages/occupancy.yaml index 509009e..0cb73d5 100644 --- a/packages/occupancy.yaml +++ b/packages/occupancy.yaml @@ -170,15 +170,6 @@ sensor: }} {% endif %} group: - Occupancy: - view: yes - icon: mdi:account-group - entities: - - binary_sensor.occupied - - binary_sensor.activity - - group.phones - - group.occupancy_automations - - group.occupancy_overrides occupancy_automations: name: Automations entities: diff --git a/packages/plex.yaml b/packages/plex.yaml index e4d3569..f9ebc8f 100644 --- a/packages/plex.yaml +++ b/packages/plex.yaml @@ -50,16 +50,14 @@ automation: state: 'on' group: - Plex: - view: yes - icon: mdi:television - entities: - - group.plex_players - - group.plex_automations plex_players: name: Plex entities: - media_player.plex_ps4 + plex_servers: + name: Plex Servers + entities: + - sensor.plex_reason plex_automations: name: Automations entities: diff --git a/packages/roku.yaml b/packages/roku.yaml index b6030ac..2a0b3c3 100644 --- a/packages/roku.yaml +++ b/packages/roku.yaml @@ -1,10 +1,4 @@ group: - Roku: - view: yes - icon: mdi:television - entities: - - group.roku_players - - remote.49_tcl_roku_tv roku_players: name: Roku entities: diff --git a/packages/sonos.yaml b/packages/sonos.yaml index 6c012f2..3883b3f 100644 --- a/packages/sonos.yaml +++ b/packages/sonos.yaml @@ -76,15 +76,6 @@ script: entity_id: "{{ sonos_entity|default('media_player.den') }}" group: - Sonos: - view: yes - icon: mdi:speaker - entities: - - binary_sensor.den_night_mode - - group.sonos_players - - group.sonos_automations - - group.sonos_options - - group.sonos_scripts sonos_players: name: Sonos entities: diff --git a/packages/sunrise.yaml b/packages/sunrise.yaml index 732278a..9d53da8 100644 --- a/packages/sunrise.yaml +++ b/packages/sunrise.yaml @@ -111,16 +111,6 @@ automation: - thu - fri group: - Sunrise: - view: yes - icon: mdi:weather-sunset - entities: - - sun.sun - - sensor.time - - group.sunrise_scenes - - group.sunrise_automations - - group.sunrise_options - - group.sunrise_scripts sunrise_scenes: name: scenes entities: diff --git a/packages/twitch.yaml b/packages/twitch.yaml index 41e2d2f..be1ad52 100644 --- a/packages/twitch.yaml +++ b/packages/twitch.yaml @@ -1,10 +1,4 @@ group: - Twitch: - view: yes - icon: mdi:twitch - entities: - - binary_sensor.twitch_stream_active - - group.twitch_channels twitch_channels: name: Twitch Channels entities: