Describe the bug
The application doesn't update the Teams connection status.
The sensors are updated correctly and I see the data appearing in the log so it is just the label that is not updating.
It does set the correct state at startup but doesn't change it afterwards.
I discovered it since at startup it showed "Disconnected" while Teams was started so Teams2HA must have started before Teams.
At that moment I closed Teams2HA and started it again. Then it showed me the correct state.
Afterwards I turned of Teams but the status kept on showing as "Connected".
To Reproduce
Steps to reproduce the behavior:
Both Teams2HA are running and Teams2HA shows Teams as "Connected".
Shut down teams -> Teams2HA keeps on showing Teams as "Connected".
Restart Teams2HA -> It shows Teams as "Disconnected".
Expected behavior
The Teams connected status updates to the correct state when Teams is started or stopped.
Screenshots
You can see that Teams2HA shows disconnected while Teams is running (bottom of screenshot).
Desktop (please complete the following information):
OS: Windows 10
Browser: Chrome
Version: 1.1.0.738
Logs - (please complete the following information)
THFHA Logs
(I was at the office so there was no connection to my local MQTT broker at home at that moment)
Teams2ha_Log20240530.log
Describe the bug The application doesn't update the Teams connection status. The sensors are updated correctly and I see the data appearing in the log so it is just the label that is not updating. It does set the correct state at startup but doesn't change it afterwards. I discovered it since at startup it showed "Disconnected" while Teams was started so Teams2HA must have started before Teams. At that moment I closed Teams2HA and started it again. Then it showed me the correct state. Afterwards I turned of Teams but the status kept on showing as "Connected".
To Reproduce Steps to reproduce the behavior:
Expected behavior The Teams connected status updates to the correct state when Teams is started or stopped.
Screenshots You can see that Teams2HA shows disconnected while Teams is running (bottom of screenshot).
Desktop (please complete the following information):
Logs - (please complete the following information)
Thanks a lot for your great work!