geoffreylagaisse / Hass-Microsoft-Graph

Microsoft Graph API Presence Integration for Home Assistant
29 stars 3 forks source link

Examples? #17

Open roboraptor opened 1 week ago

roboraptor commented 1 week ago

Hi, i just wanted to know if there could be any examples of how it works in HA :) Also a question, if there is many possibilities, could this show a timeline of Meeting Rooms future usage? for like 7 days? Thank you!

geoffreylagaisse commented 3 days ago

Hi It basically shows 2 sensors in HA with different states:

image image image

These are the properties that are returned: https://learn.microsoft.com/en-us/graph/api/resources/presence?view=graph-rest-1.0#properties

You can trigger automations based on state change. Meetingrooms are not supported as this automation only reads from the personal graph api endpoint.