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 Agenda Notification | |
description: | |
Conversation agent generates a notification based on the upcoming calendar | |
agenda, location, and weather information. | |
domain: automation | |
input: | |
notify_time: | |
name: Notification time |
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: Evening Light Calendar | |
description: Use a calendar for managing a light schedule. Lights are turned on according the calendar schedule, and only after dark. | |
domain: automation | |
input: | |
calendar_sensor: | |
name: Calendar Sensor | |
selector: | |
entity: | |
domain: |
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: Switch on Calendar | |
description: Use a calendar for managing a switch schedule. Switch is turned on according the calendar schedule. | |
domain: automation | |
input: | |
calendar_sensor: | |
name: Calendar Sensor | |
selector: | |
entity: | |
domain: |
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
- trigger: | |
- platform: homeassistant | |
event: start | |
- platform: time_pattern | |
hours: "/6" | |
action: | |
- service: calendar.list_events | |
target: | |
entity_id: calendar.personal |
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
- id: '1688397301915' | |
alias: Upcoming Calendar Event Locations | |
description: Update the upcoming location helpers based on the next upcoming event. | |
trigger: | |
- platform: time | |
at: 06:00:00 | |
- platform: time | |
at: '12:00:00' | |
- platform: time | |
at: '18:00:00' |
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
- trigger: | |
- platform: homeassistant | |
event: start | |
- platform: time_pattern | |
hours: "/6" | |
action: | |
- service: calendar.list_events | |
target: | |
entity_id: calendar.personal |
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
FROM mistral:latest | |
TEMPLATE """{{- range $index, $_ := .Messages }} | |
{{- if eq .Role "user" }} | |
{{- if and (eq (len (slice $.Messages $index)) 1) $.Tools }}[AVAILABLE_TOOLS] {{ $.Tools }}[/AVAILABLE_TOOLS] | |
{{- end }}[INST] {{ if and (eq (len (slice $.Messages $index)) 1) $.System }}{{ $.System }} | |
{{ end }}{{ .Content }}[/INST] | |
{{- else if eq .Role "assistant" }} | |
{{- if .Content }} {{ .Content }}</s> | |
{{- else if .ToolCalls }}[TOOL_CALLS] [ |