korapp / plasma-homeassistant

Add Home Assistant to your plasma desktop
GNU General Public License v3.0
57 stars 4 forks source link

[Bug] Widget does not fully initialize if wallet not unlocked when plasmashell starts. #15

Closed AlekEagle closed 8 months ago

AlekEagle commented 8 months ago

Describe the bug If your KDE Wallet does not unlock at login when plasmashell starts and loads the widget, the widget will display "Configure" until plasmashell is restarted. e.g. plasmashell --replace in Krunner.

To Reproduce Steps to reproduce the behavior:

  1. Configure your default wallet to require user interaction in order to unlock (e.g. PGP Encryption with a physical GPG key)
  2. Login to your user account.
  3. Unlock your default KDE wallet.

Expected behavior Once the wallet is unlocked, the widget will be able to obtain the access token for Home Assistant, authenticate, and display the entities configured to be displayed.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context I have not tried using classic blowfish encryption with a password.

korapp commented 8 months ago

Quite a find, thanks for reporting.