Before you can use the Home Assistant Plasmoid, you need to configure the connection to your Home Assistant instance. This involves setting up the Home Assistant URL and creating a Long-Lived Access Token for authentication.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/korapp/plasma-homeassistant/llms.txt
Use this file to discover all available pages before exploring further.
Configuration Interface
The connection settings are found in the API section of the plasmoid configuration dialog (ConfigGeneral.qml:33-76).
The Home Assistant URL field is an editable combo box that stores your Home Assistant instance URL.
http:// or https://) and port numberMake sure the URL includes the protocol and port. For example:
http://homeassistant.local:8123https://example.duckdns.org
- Click the link that appears below the Token field (e.g.,
http://homeassistant.local:8123/profile/security) - Or manually go to your Home Assistant instance and navigate to Profile → Security
The configuration dialog provides a direct link to your Home Assistant security page (
ConfigGeneral.qml:73-76). The link appears once you’ve entered a valid URL.KDE Wallet Integration
The plasmoid uses KDE Wallet to securely store your access token (ConfigGeneral.qml:15-31). This provides several security benefits:
- Tokens are encrypted and stored separately from the plasmoid configuration
- Multiple Home Assistant instances can be managed with different tokens
- Tokens persist across plasmoid updates and configuration changes
KDE Wallet must be active for the plasmoid to function. The wallet integration automatically:
- Saves tokens when you apply the configuration (
ConfigGeneral.qml:90) - Retrieves tokens when switching between different URLs
- Lists previously configured URLs in the dropdown
Token Management
When you change the Home Assistant URL:- The plasmoid automatically attempts to retrieve the associated token from KDE Wallet
- If no token is found, the Token field is cleared
- Each URL has its own token stored securely
Additional Settings
Flat Entities Display
The Look section (ConfigGeneral.qml:78-86) includes a Flat entities checkbox:
- Checked: Entities are displayed in a flat list layout
- Unchecked: Entities may be displayed with visual hierarchy or grouping
Validation
The configuration form performs automatic validation:- URL normalization: Removes trailing slashes and whitespace (
ConfigGeneral.qml:53) - Auto-save: Changes are saved when the field loses focus or Enter is pressed
- Token persistence: Tokens are only saved to KDE Wallet when you click Apply
