diff --git a/config/.HA_VERSION b/config/.HA_VERSION index 8512b924..bb8fb4c8 100755 --- a/config/.HA_VERSION +++ b/config/.HA_VERSION @@ -1 +1 @@ -2022.11.1 \ No newline at end of file +2022.12.4 \ No newline at end of file diff --git a/config/.vscode/settings.json b/config/.vscode/settings.json new file mode 100755 index 00000000..a04b2186 --- /dev/null +++ b/config/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "*.yaml": "home-assistant" + } +} \ No newline at end of file diff --git a/config/automation/Timed_Triggers/sunset_turn_on.yaml b/config/automation/Timed_Triggers/sunset_turn_on.yaml index 0a080e42..37e811bf 100755 --- a/config/automation/Timed_Triggers/sunset_turn_on.yaml +++ b/config/automation/Timed_Triggers/sunset_turn_on.yaml @@ -83,6 +83,7 @@ - switch.foyer_outlet - switch.den_outlet - switch.living_room_outlet + - switch.living_room_tv_outlet - service: light.turn_on entity_id: - light.living_room_accents diff --git a/config/automation/away.yaml b/config/automation/away.yaml index 4c2b43de..22033e56 100755 --- a/config/automation/away.yaml +++ b/config/automation/away.yaml @@ -2,35 +2,46 @@ ## Shut it all down. No one is here ###################################################################### +# Define an alias for this automation - alias: 'Away Mode' + # Give the automation a unique ID id: 712e845a-9d72-4993-b8af-890b167c807b + # Set the mode to "single" mode: single + # Set the trigger for the automation trigger: + # The automation will be triggered when the state of the "binary_sensor.downstairs_nest_away" entity changes to "on" - platform: state entity_id: binary_sensor.downstairs_nest_away to: 'on' + # The automation will also be triggered when the state of the "group.family" entity changes to "not_home" - platform: state entity_id: group.family to: 'not_home' + # Set the conditions for the automation to run condition: + # The automation will only run if the state of the "group.family" entity is "not_home" - condition: state entity_id: group.family state: 'not_home' + # The automation will also only run if the state of the "input_boolean.guest_mode" entity is "off" - condition: state entity_id: input_boolean.guest_mode state: 'off' + # Set the actions to be performed by the automation action: + # Run the "script.interior_off" service - service: script.interior_off + # Turn off the "switch.back_landscaping" switch - service: switch.turn_off entity_id: switch.back_landscaping - # Arms Alexa Guard unless Guest Mode is on. Disarms in the Announcements.yaml + # Arm the "alarm_control_panel.alexa_guard" alarm unless the "input_boolean.guest_mode" entity is "on" - condition: template value_template: > {{ states.input_boolean.guest_mode.state != "on" }} - - service: alarm_control_panel.alarm_arm_away entity_id: alarm_control_panel.alexa_guard diff --git a/config/automation/work.yaml b/config/automation/work.yaml index de0af295..ba1efb27 100755 --- a/config/automation/work.yaml +++ b/config/automation/work.yaml @@ -2,22 +2,30 @@ ## Time to work - Set it up! ###################################################################### +# Define an alias for this automation - alias: Time to Work + # Give the automation a unique ID id: 5ccdc0c7-5a90-4d0d-b3dd-d855fa6cf77d + # Set the trigger for the automation trigger: + # The automation will be triggered when the state of the "input_boolean.work" entity changes from "off" to "on" - platform: state entity_id: input_boolean.work to: 'on' from: 'off' + # Set the actions to be performed by the automation action: + # Turn off the "light.dinette_lights", "light.kitchen_lights", and "light.living_room_lights" lights - service: light.turn_off entity_id: - light.dinette_lights - light.kitchen_lights - light.living_room_lights + # Turn on the "light.office_lamp" light - service: light.turn_on entity_id: - light.office_lamp + # Turn off the "input_boolean.work" entity - service: input_boolean.turn_off entity_id: input_boolean.work diff --git a/config/group/switches.yaml b/config/group/switches.yaml index 9ef9d39d..070676f6 100755 --- a/config/group/switches.yaml +++ b/config/group/switches.yaml @@ -11,6 +11,7 @@ Interior Switches: - switch.den_outlet - switch.living_room_outlet - switch.living_room_outlet_2 + - switch.living_room_tv_outlet Kitchen Accents: entities: diff --git a/config/packages/neato.yaml b/config/packages/neato.yaml index 32e776bc..a0e0206f 100755 --- a/config/packages/neato.yaml +++ b/config/packages/neato.yaml @@ -21,13 +21,13 @@ automation: mode: single trigger: - platform: state - entity_id: vacuum.carlo_neato + entity_id: vacuum.neato_vac to: 'cleaning' condition: - condition: numeric_state - entity_id: vacuum.carlo_neato + entity_id: vacuum.neato_vac attribute: battery_level below: 20 @@ -48,7 +48,7 @@ automation: "Everyday I have the Neato Botvac go out and clean the house on its own.", "Since we have a cat that sheds all day, we have Neato Vacuum go out daily to clean.", "Time to recharge the Neato Vacuum." - ] | random + " Battery Level:{{states.vacuum.carlo_neato.attributes.battery_level }} #Robots"}} + ] | random + " Battery Level:{{states.vacuum.neato_vac.attributes.battery_level }} #Robots"}} image: >- {{ [ "/config/www/custom_ui/floorplan/images/branding/neato.png" @@ -63,14 +63,14 @@ automation: id: 6548de52-a4a4-4df2-9d66-9c2c15577a7e trigger: - platform: state - entity_id: vacuum.carlo_neato + entity_id: vacuum.neato_vac to: 'error' - platform: event event_type: event_did_someone_help_neato_loop condition: - condition: state - entity_id: vacuum.carlo_neato + entity_id: vacuum.neato_vac state: 'error' action: @@ -81,7 +81,7 @@ automation: - service: script.speech_engine data: value1: > - {% set error = states.vacuum.carlo_neato.attributes['status'] %} + {% set error = states.vacuum.neato_vac.attributes['status'] %} {{ [ "Neato is asking for help. The error reported is " ~ error + " . Please find him and help him.", "Please be nice and help Neato. He is complaining about " ~ error + ".", @@ -90,15 +90,15 @@ automation: ] | random }} - service: vacuum.locate - entity_id: vacuum.carlo_neato + entity_id: vacuum.neato_vac - service: script.notify_engine data: title: 'Help Neato' - value1: "{{ states.vacuum.carlo_neato.attributes['status'] }}" + value1: "{{ states.vacuum.neato_vac.attributes['status'] }}" who: 'family' ios_category: 'camera' - camera_entity: 'camera.carlo_neato_cleaning_map' + camera_entity: 'camera.neato_vac_cleaning_map' content_type: 'jpeg' apns_id: 'information' diff --git a/config/script/amp_settings.yaml b/config/script/amp_settings.yaml index 0d22305b..6c9ba1cf 100755 --- a/config/script/amp_settings.yaml +++ b/config/script/amp_settings.yaml @@ -4,10 +4,16 @@ ## Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig ###################################################################################################### +# Set the AMP settings amp_settings: + # Define the sequence of actions to be performed sequence: + # Set the volume for the specified media players - service: media_player.volume_set data: + # Set the entity ID for the media players to be controlled + # If the "media_player" variable is not defined, set it to a list of media player entities + # If the "media_player" variable is a list, convert it to a comma-separated string entity_id: >- {% if media_player | length == 0 %} {% set media_player = [ @@ -22,6 +28,9 @@ amp_settings: {% endif %} {{ media_player }} + # Set the volume level for the media players + # If the "volume_level" variable is not defined, set it based on the current time of day + # Otherwise, use the value of the "volume_level" variable volume_level: >- {% if volume_level is none %} {% if now().strftime('%H')|int < 12 and now().strftime('%H')|int > 6 %} @@ -34,13 +43,13 @@ amp_settings: {% endif %} {{volume_level}} + # If the "switch.lr_amp" switch is off and the "group.bed" group is off, turn on the "switch.lr_amp" switch - condition: state entity_id: switch.lr_amp state: 'off' - condition: state entity_id: group.bed state: 'off' - - service: switch.turn_on data: entity_id: switch.lr_amp diff --git a/config/script/speech_engine.yaml b/config/script/speech_engine.yaml index 69be94d2..ca507834 100755 --- a/config/script/speech_engine.yaml +++ b/config/script/speech_engine.yaml @@ -15,9 +15,13 @@ # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig ###################################################################################################### +# Define the "speech_engine" script speech_engine: + # Set the mode to "queued" mode: queued + # Define the sequence of actions to be performed sequence: + # If the state of the "group.family" entity is "home" or the state of the "input_boolean.guest_mode" entity is "on", proceed with the script - condition: or conditions: - condition: state @@ -27,8 +31,12 @@ speech_engine: entity_id: input_boolean.guest_mode state: 'on' + # Run the "script.speech_processing" service with the specified media player and speech message - service: script.speech_processing data: + # Set the entity ID for the media players to be controlled + # If the "media_player" variable is not defined, set it to a list of media player entities + # If the "media_player" variable is a list, convert it to a comma-separated string media_player: >- {% if media_player | length == 0 %} {% set media_player = [ @@ -39,8 +47,10 @@ speech_engine: {% set media_player = media_player|join(', ') %} {% endif %} {{ media_player }} + # Include the speech message from the "speech/briefing.yaml" template file speech_message: !include ../templates/speech/briefing.yaml + # Turn off the "input_boolean.home_stats" and "input_boolean.responsibilities" input booleans - service: input_boolean.turn_off data: entity_id: diff --git a/config/script/tweet_youtube.yaml b/config/script/tweet_youtube.yaml index 4b7f5eff..7f092ca5 100755 --- a/config/script/tweet_youtube.yaml +++ b/config/script/tweet_youtube.yaml @@ -330,6 +330,9 @@ tweet_youtube_engine_setup: ], "GardenLED": [ "LOOK! We Got MORE Solar LED Garden Lights! (https://youtube.com/shorts/TigbEg3YIZI)" + ], + "RokuOnHA": [ + "Adding Roku to Home Assistant (https://youtu.be/XvrVhsP1bB4)" ] } %} diff --git a/config/templates/speech/youtube_picker.yaml b/config/templates/speech/youtube_picker.yaml index 914837e4..e01d8ca2 100755 --- a/config/templates/speech/youtube_picker.yaml +++ b/config/templates/speech/youtube_picker.yaml @@ -9,6 +9,6 @@ "S03E01", "Bearnews5", "Bearnews6", "Bearnews7", "S03E02", "S03E03", "Logger", "SolarPalmLight", "5TipsToLevelUp", "AlexaMusicCommands", "SolarFountainOKMEE", "NoCloudGaradget", "AlexaGuardMediaPlayer", "LightningSensor", "LEDBackboard", "CuckooClock", "NodeAnchors", "yahoostocks", "AugustBatteries", "Remote_Finder", "VideoProjectionMappingDemo", "FeedTheDog", "AlexaGiftNotifications","iPhoneDuplicates", "NotifyScript", "WeightLossJourney", - "SnapPower", "LocalControl", "TossingWink", "EnergyDashboard", "IOSBrokeNoifications", "SolarDriveway", "UPS_Replacement", "VillaNERI", "GardenLED" + "SnapPower", "LocalControl", "TossingWink", "EnergyDashboard", "IOSBrokeNoifications", "SolarDriveway", "UPS_Replacement", "VillaNERI", "GardenLED", "RokuOnHA" ] %} {{ pick|random }} diff --git a/config/www/custom_ui/floorplan/images/youtube/episodes/RokuOnHA.png b/config/www/custom_ui/floorplan/images/youtube/episodes/RokuOnHA.png new file mode 100755 index 00000000..6851a878 Binary files /dev/null and b/config/www/custom_ui/floorplan/images/youtube/episodes/RokuOnHA.png differ