Awesome
<a name="readme-top"></a>
O365 Card for Home Assistant
Table of contents
Introduction
Needs the O365 Home Assistant Integration to work
This is a Custom Card to show information from your O365 sensors into the home assistant dashboard.<br /> The intent is to create a simple and easy-to-use card to show the sensor's information in the dashboard.
I made a video about the O365 integration and on my research, I couldn't find any other card that allowed me to show the information from the sensors easily. So I made this card to simplify the process for everyone that needs it.
The Icon and the name of the card are taken from the sensor's configuration, click on the card icon to change them if you need.
Once installed can be added from the Dashboard Panel, just search for O365 Card, works with the Lovelace Config Editor.
<p align="center"><img src="https://i.imgur.com/aKn0LVo.jpeg" alt="lovelace config editor example"></p>For ToDo Sensor Support, check the official todo-list card from Home Assistant
<p align="right">(<a href="#readme-top">back to top</a>)</p>Installation
HACS (Recommended)
Use this button to be redirected to the card's page on HACS
Manual
- Download
o365-card.js
file from the latest release. - Put
o365-card.js
file into yourconfig/www
folder. - Add a reference to
o365-card.js
in Lovelace.- Go to: Settings → Dashboards → Resources → Click Plus button → Set Url as
/local/o365-card.js
→ Set Resource type asJavaScript Module
.
- Go to: Settings → Dashboards → Resources → Click Plus button → Set Url as
- Add
custom:o365-card.js
to Lovelace UI as any other card (using either editor or YAML configuration).
Supported Types
Inbox
<p align="center"><img src="img/inbox.webp" alt="inbox sensor example"></p>- The card shows the email list from an email sensor (doc) or a query sensor (doc)
- State Color based on importance level of the email
- :information_source: Info: Normal
- :no_entry: Alert: High
Options
Name | Requirement | Description |
---|---|---|
type | Required | custom:o365-card |
entity | Required | Home Assistant entity ID |
max_items | Optional | Maximum amount of items to show in the card <br> The header counter will still show the real value <br> Set to 0 to show all |
Teams
<p align="center"><img src="img/teams_last_message.webp" alt="chat sensor example"></p>- The card shows the information from the teams chat sensor (doc)
- Has a link that will open the conversation in teams.microsoft.com
Options
Name | Requirement | Description |
---|---|---|
type | Required | custom:o365-card |
entity | Required | Home Assistant entity ID |
Licence
o365-card is MIT licenced