Last active
February 4, 2024 20:17
-
-
Save timmo001/dc08d71bcc064b850e0bce355a00bf14 to your computer and use it in GitHub Desktop.
Conversation Agent - Weather update (No LLM)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Conversation Agent - Weather update (No LLM) | |
description: A blueprint for a conversation agent that provides weather updates (no LLM) | |
domain: automation | |
input: | |
response_text: | |
name: Response Text | |
description: The response text to use when the weather is requested | |
default: >- | |
The current weather is {{ states(weather_entity) }} with a temperature of {{ | |
state_attr(weather_entity, 'temperature') }}{{ | |
state_attr(weather_entity, 'temperature_unit') }} at {{ state_attr(home_zone, 'friendly_name') }}. | |
selector: | |
text: {} | |
home_zone: | |
name: Home Zone | |
description: The zone to get the weather for | |
default: zone.home | |
selector: | |
entity: | |
domain: zone | |
weather_entity: | |
name: Weather Entity | |
description: The weather entity to get the weather from | |
default: weather.accuweather | |
selector: | |
entity: | |
domain: weather | |
trigger: | |
- platform: conversation | |
command: | |
- weather [update] | |
- what is the weather [today] | |
condition: [] | |
action: | |
- variables: | |
home_zone: !input home_zone | |
weather_entity: !input weather_entity | |
- set_conversation_response: !input response_text | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently generates
No known way of translating the template, but is functional