



Office 365 Integration Install#
You can find the documentation here.
YAML config#
config/configuration.yaml
o365:
accounts:
- account_name: Fixt # Do not use email address or spaces
client_id: !secret office365_client_id
client_secret: !secret office365_client_secret
enable_update: True
email_sensor:
- name: inbox
max_items: 10
is_unread: True
download_attachments: False
query_sensors:
-
Automation Examples#
Example automation to know if you are in a meeting#
config/automations.yaml
alias: Teams Meeting Status
description: ""
trigger:
- platform: state
entity_id:
- sensor.fixt_teams_status
condition: []
action:
- choose:
- conditions:
-
Example automation to notify you when you receive an email from a specific sender#
config/automations.yaml
alias: Notify Fixt of Client Email
trigger:
- platform: state
entity_id: sensor.client_a_email
condition:
- condition: and
conditions:
#Prevents multiple notifications for the same email
- condition: template
value_template: '{{ trigger.from_state.state != trigger.to_state.state }}
Teams integration states list#
Available
Away
BeRightBack
Busy
DoNotDisturb
InACall
InAConferenceCall
Inactive
InAMeeting
Offline
OffWork
OutOfOffice
PresenceUnknown
Presenting
UrgentInterruptionsOnly
How to create a helper#
You can use this button to go to the helpers page and create a input_boolean (Toggle) using the user interface .