From ab18284c9ca65b532620a49f7bfd08edfc99ab55 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 2 Jul 2024 17:09:40 +0000 Subject: [PATCH] Added in some NFC tag stuff - #946 --- config/.HA_VERSION | 2 +- config/packages/garadget.yaml | 2 +- config/packages/hasspodcast.yaml | 29 --------------------------- config/packages/neato.yaml | 16 +++++++-------- config/packages/nfc_tags.yaml | 18 +++++++++++++++++ config/templates/speech/briefing.yaml | 1 - 6 files changed, 28 insertions(+), 40 deletions(-) delete mode 100755 config/packages/hasspodcast.yaml create mode 100755 config/packages/nfc_tags.yaml diff --git a/config/.HA_VERSION b/config/.HA_VERSION index 3d90c9a0..c0f98217 100755 --- a/config/.HA_VERSION +++ b/config/.HA_VERSION @@ -1 +1 @@ -2024.7.0.dev202406190219 \ No newline at end of file +2024.8.0.dev202407010223 \ No newline at end of file diff --git a/config/packages/garadget.yaml b/config/packages/garadget.yaml index cee80dfe..829420dd 100755 --- a/config/packages/garadget.yaml +++ b/config/packages/garadget.yaml @@ -315,7 +315,7 @@ automation: value1: "Small: {{ states('cover.small_garage_door')}}" value2: "Large: {{ states('cover.large_garage_door')}}" who: "family" - camera_entity: "camera.camera2" + camera_entity: "camera.birdseye" group: 'information' - service: script.speech_engine diff --git a/config/packages/hasspodcast.yaml b/config/packages/hasspodcast.yaml deleted file mode 100755 index 5d21f9f6..00000000 --- a/config/packages/hasspodcast.yaml +++ /dev/null @@ -1,29 +0,0 @@ -#------------------------------------------- -# RSS Podcast Alerting function Packages -# @CCOSTAN -# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig -#------------------------------------------- - -#------------------------------------------- -feedreader: - urls: - - https://hasspodcast.io/feed/podcast #HA Podcast Feed - - https://us12.campaign-archive.com/feed?u=45cab4343ffdbeb9667c28a26&id=e01847e94f #This is CCOSTAN's Smart Home Blog feed - - https://alerts.home-assistant.io/feed.xml - # - https://feeds.feedburner.com/RecentCommitsToBearStoneHA # - This is the Repo Commit feed. -#------------------------------------------- - -automation: - - alias: Send notification of RSS feed title when updated - id: 7762ab96-f5c0-4846-a3a1-f0f3af82c275 - trigger: - platform: event - event_type: feedreader - - action: - - - service: persistent_notification.create - data: - message: '{{trigger.event.data.title}}' - title: '{{trigger.event.data.link}}' - diff --git a/config/packages/neato.yaml b/config/packages/neato.yaml index a365b5f9..db324528 100755 --- a/config/packages/neato.yaml +++ b/config/packages/neato.yaml @@ -38,19 +38,15 @@ automation: - wait_template: "{{ states.group.family.state == 'home' }}" - wait_template: "{{ is_state('group.bed', 'off') }}" - delay: 00:05:00 + + - service: vacuum.locate + entity_id: vacuum.neato_vac - service: script.speech_engine data: value1: > {% 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 + ".", - "Something is wrong with Neato. Please find him and help him. I have detected a " ~ error + " error." - ] | random }} - - - service: vacuum.locate - entity_id: vacuum.neato_vac + {{ "Neato Vacuum is complaining about " ~ error ~ " [ask Residents to help]" }} - service: script.notify_engine data: @@ -62,5 +58,9 @@ automation: content_type: 'jpeg' group: 'information' + - delay: 00:01:00 + - service: vacuum.locate + entity_id: vacuum.neato_vac + - delay: 00:20:00 - event: event_did_someone_help_neato_loop diff --git a/config/packages/nfc_tags.yaml b/config/packages/nfc_tags.yaml new file mode 100755 index 00000000..dc0dc42e --- /dev/null +++ b/config/packages/nfc_tags.yaml @@ -0,0 +1,18 @@ +#------------------------------------------- +# Messing around with NFC stickers - https://amzn.to/3L7efQv +# @CCOSTAN +# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig +# +#------------------------------------------- + +automation: + - alias: 'Toggle Office Lamp with NFC tag' + id: 30c6d2bb-fe8b-4101-9241-03416726cdf4 + mode: single + trigger: + - platform: tag + tag_id: 1411ea22-5b6f-4a73-9ba1-e8b9bd73f08b + + action: + - service: switch.toggle + entity_id: switch.office_lamp_switch_socket diff --git a/config/templates/speech/briefing.yaml b/config/templates/speech/briefing.yaml index ead9ae3c..3b41356d 100755 --- a/config/templates/speech/briefing.yaml +++ b/config/templates/speech/briefing.yaml @@ -17,7 +17,6 @@ {% else %} Today is Paige's day to do the chores. {% endif %} - [Only mention chores if today is garbage day or if this is the only information you have] {%- endmacro -%} {%- macro inside_weather() -%}