Skip to content

A custom card for Home Assistant to show your Inbox, To Do and Teams Last Message from Office365

License

Notifications You must be signed in to change notification settings

fixtse/o365-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HACS Validate hacs_badge

GitHub release maintained maintainer

O365 Card for Home Assistant

Table of contents

Introduction

Needs the O365 Home Assistant Integration to work

Video Tutorial

This is a Custom Card to show information from your O365 sensors into the home assistant dashboard.
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.

lovelace config editor example

For ToDo Sensor Support, check the official todo-list card from Home Assistant

(back to top)

Installation

HACS (Recommended)

Use this button to be redirected to the card's page on HACS

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Manual

  1. Download o365-card.js file from the latest release.
  2. Put o365-card.js file into your config/www folder.
  3. Add a reference to o365-card.js in Lovelace.
    1. Go to: SettingsDashboardsResources → Click Plus button → Set Url as /local/o365-card.js → Set Resource type as JavaScript Module.
  4. Add custom:o365-card.js to Lovelace UI as any other card (using either editor or YAML configuration).

(back to top)

Supported Types

Inbox

inbox sensor example

  • 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
    • ℹ️ Info: Normal
    • ⛔ 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
The header counter will still show the real value
Set to 0 to show all

(back to top)

Teams

chat sensor example

  • 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

(back to top)

Licence

o365-card is MIT licenced