Added in some NFC tag stuff - #946

This commit is contained in:
CCOSTAN 2024-07-02 17:09:40 +00:00
parent 4e7f5c182e
commit ab18284c9c
6 changed files with 28 additions and 40 deletions

View File

@ -1 +1 @@
2024.7.0.dev202406190219 2024.8.0.dev202407010223

View File

@ -315,7 +315,7 @@ automation:
value1: "Small: {{ states('cover.small_garage_door')}}" value1: "Small: {{ states('cover.small_garage_door')}}"
value2: "Large: {{ states('cover.large_garage_door')}}" value2: "Large: {{ states('cover.large_garage_door')}}"
who: "family" who: "family"
camera_entity: "camera.camera2" camera_entity: "camera.birdseye"
group: 'information' group: 'information'
- service: script.speech_engine - service: script.speech_engine

View File

@ -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}}'

View File

@ -39,18 +39,14 @@ automation:
- wait_template: "{{ is_state('group.bed', 'off') }}" - wait_template: "{{ is_state('group.bed', 'off') }}"
- delay: 00:05:00 - delay: 00:05:00
- service: vacuum.locate
entity_id: vacuum.neato_vac
- service: script.speech_engine - service: script.speech_engine
data: data:
value1: > value1: >
{% set error = states.vacuum.neato_vac.attributes['status'] %} {% set error = states.vacuum.neato_vac.attributes['status'] %}
{{ [ {{ "Neato Vacuum is complaining about " ~ error ~ " [ask Residents to help]" }}
"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
- service: script.notify_engine - service: script.notify_engine
data: data:
@ -62,5 +58,9 @@ automation:
content_type: 'jpeg' content_type: 'jpeg'
group: 'information' group: 'information'
- delay: 00:01:00
- service: vacuum.locate
entity_id: vacuum.neato_vac
- delay: 00:20:00 - delay: 00:20:00
- event: event_did_someone_help_neato_loop - event: event_did_someone_help_neato_loop

18
config/packages/nfc_tags.yaml Executable file
View File

@ -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

View File

@ -17,7 +17,6 @@
{% else %} {% else %}
Today is Paige's day to do the chores. Today is Paige's day to do the chores.
{% endif %} {% endif %}
[Only mention chores if today is garbage day or if this is the only information you have]
{%- endmacro -%} {%- endmacro -%}
{%- macro inside_weather() -%} {%- macro inside_weather() -%}