Closed TobiasLaross closed 6 months ago
In this update, the Lynkco custom component has been refined to enhance error handling and user re-authentication. The update_data
function now better manages missing data without checking for exceptions. The token_manager.py
raises a ConfigEntryAuthFailed
exception if the refresh token is invalid, prompting user re-authentication. Additionally, the version has been incremented from 1.3.0 to 1.3.1 in manifest.json
.
Files | Change Summary |
---|---|
custom_components/lynkco/__init__.py |
Modified update_data function to handle record and shadow data by checking for None instead of exceptions. |
custom_components/lynkco/manifest.json |
Updated version from "1.3.0" to "1.3.1". |
custom_components/lynkco/token_manager.py |
Changed refresh_tokens to raise ConfigEntryAuthFailed exception if the refresh token is None . |
🐰
In the code, a change we see, To handle tokens gracefully. When data's missing, we now know, No exceptions, just let it flow. A version bump, a fix so neat, Lynkco's update is complete! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
Bug Fixes
Maintenance