@ -3,10 +3,9 @@ We're working a lot at our home office these days. Several people already found
Microsoft provides the status of your account that is used in Teams via the Graph API. To access the Graph API, your organization needs to grant consent for the organization so everybody can read their Teams status. Since my organization didn't want to grant consent, I needed to find a workaround, which I found in monitoring the Teams client logfile for certain changes.
This script makes use of three sensors that are created in Home Assistant up front:
This script makes use of two sensors that are created in Home Assistant up front:
* sensor.teams_status
* sensor.teams_activity
* binary_sensor.teams_monitoring
sensor.teams_status displays that availability status of your Teams client based on the icon overlay in the taskbar on Windows. sensor.teams_activity shows if you are in a call or not based on the App updates deamon, which is paused as soon as you join a call.