v1.1.0 — HTTP API Auth, Setup Without Account & Credentials Flow
Ultra Card Connect v1.1.0
Stable Release — recommended for all users.
✨ What's New
HTTP API Auth Views
Three new HA HTTP API endpoints are now registered on integration setup, allowing the Ultra Card frontend to authenticate users directly through Home Assistant's secure session layer — credentials are never stored in browser localStorage.
POST /api/ultra_card_pro_cloud/login— Acceptsusername+password, updates the config entry credentials, forces the coordinator to re-authenticate, and returns the current sensor state immediately so the frontend reflects auth status without a page reload. If no config entry exists yet, one is created automatically via the config flow.POST /api/ultra_card_pro_cloud/logout— Removes stored credentials from the config entry and resets JWT/refresh tokens, logging the user out cleanly.POST /api/ultra_card_pro_cloud/register— Creates a new ultracard.io account via the WordPress API, then auto-logs in using the login flow above. Returns the sensor state on success.
All views require a valid Home Assistant session (requires_auth = True).
Setup Without Account
The config flow now opens with a menu step letting users choose:
- Sign in with ultracard.io account — proceeds to the new
credentialsstep (username/password). - Set up without an account — creates a config entry immediately with no credentials, so the sidebar appears right away. Users can sign in later via the Account tab in the Hub sidebar.
Coordinator — Graceful No-Credentials Handling
When the config entry has no credentials (set up without account), the coordinator now returns {"authenticated": False} immediately instead of attempting network requests, eliminating unnecessary errors in the logs.
Config Flow Cleanup
- Split
async_step_userinto a menu step (user) and a dedicatedasync_step_credentialsstep for the sign-in form. - Added
async_step_user_api— a programmatic flow step called by the new login HTTP view to create entries without user interaction. - Config entry title changed from
"Ultra Card Pro (...)"to"Ultra Card (...)". - Removed emoji prefixes from log statements for cleaner HA logs.
Strings & Translations
- New
userstep description explains the menu choice. - New
credentialsstep with sign-in instructions and a link to the registration page. - Updated
strings.jsonandtranslations/en.jsonin sync.
🐛 Bug Fixes
- Fixed whitespace/formatting inconsistencies in
coordinator.py. ultra-card-panel.jsminor update (line 307 patch).
🔧 Installation / Upgrade
- In HACS, find Ultra Card Connect and update to v1.1.0.
- Restart Home Assistant when prompted.
- If upgrading, your existing config entry is preserved — no reconfiguration needed.
- New installs will see the "Set up without account" option during initial config flow.
Pairs with Ultra Card v3.1.0-beta1 or later.