Added in some NFC tag stuff - #946
This commit is contained in:
parent
4e7f5c182e
commit
ab18284c9c
|
@ -1 +1 @@
|
|||
2024.7.0.dev202406190219
|
||||
2024.8.0.dev202407010223
|
|
@ -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
|
||||
|
|
|
@ -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}}'
|
||||
|
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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() -%}
|
||||
|
|
Loading…
Reference in New Issue