

config/automations.yaml
alias: Create new task office 365 list
description: ""
trigger:
- platform: state
entity_id:
- input_text.o365_card_task_input #Change this to your input_text
condition:
- condition: template
value_template: '{{ (states.input_text.o365_card_task_input.state | length) > 0 }}' #Change this to your input_text
enabled: true
action:
- service: o365.new_task
data:
Custom Card
type: vertical-stack
cards:
- type: custom:o365-card
entity: sensor.create_office365_card_fixt #Change this to your tasks sensor
max_items: 0
only_overdue: false
- type: entities
entities:
- entity: input_text.o365_card_task_input #Change this to your input_text
config/automations.yaml
alias: Send Teams Chat Message
description: ""
trigger:
- platform: state
entity_id:
- input_text.o365_card_chat_input #Change this to your input_text
condition:
- condition: template
value_template: '{{ (states.input_text.o365_card_chat_input.state | length) > 0 }}' #Change this to your input_text
enabled: true
action:
- service: o365.send_chat_message
data:
Custom Card
type: vertical-stack
cards:
- type: custom:o365-card
entity: sensor.fixt_chat #Change this to your chat sensor
max_items: 0
only_overdue: false
- type: entities
entities:
- entity: input_text.o365_card_chat_input #Change this to your input_textThis card is free for all our YouTube subscribers!
Log in with your Google account to access it on our website.
💡 Validation Tip
If you have trouble with this feature, make sure your subscription list is public in your YouTube settings, under "Privacy".