Comments (10)
I have noticed this and it's on my list! It's an order of operations issue, I will have this addressed as soon as i can :)
from ha-component-kit.
from ha-component-kit.
The source is in this repo @ifuller1 under packages/core :)
from ha-component-kit.
Feel free to submit a pull request if I don't solve it in time! But i will take a look at it early next week!
from ha-component-kit.
from ha-component-kit.
No problems!
What i had planned to do is reference how home-assistant handles auth here: https://github.com/home-assistant/frontend/blob/cd19894ab096faef764c5cd220f572133f6fc445/cast/src/launcher/layout/hc-connect.ts#L234 and mimic the same behaviour through @hakit/core
from ha-component-kit.
I have just published a new version of @hakit/core (v1.0.9) - changes here
This should address your delay issue you were having, however it would be good to understand exactly what you were trying to hit the issue
I believe I've solved a few bugs with the authentication flow (listed in the PR linked above) however please let me know if you're still having issues!
from ha-component-kit.
I will close this ticket due to inactivity - the issue has been resolved :)
from ha-component-kit.
Apologies, I've been away. I did try with the new library but I still have to trigger a refresh.
To be clear I'm setting local storage before I render any react.
What I haven't done is checked the vite cache is cleared or used core source and a debugger. So best to close for now and I'll re-open with more data if necessary.
Cheers
from ha-component-kit.
That's okay! You might need to share a bit of your setup to help me identify the issue, what are you setting in local storage before rendering? HassConnect should do that for you
from ha-component-kit.
Related Issues (20)
- Allow numeric value for media_content_id HOT 2
- Entity icon only updates when refreshing the page HOT 5
- TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" HOT 17
- Problem using the dashboard in companion app HOT 28
- Modal - Animation Control HOT 1
- Discord link is expired HOT 1
- Vacuum Card - New card to control Vacuum entities HOT 1
- Prevent sidebar/group collapsing HOT 5
- POC - Swap store to signals HOT 1
- Multi lingal HOT 1
- Option to disable animations HOT 5
- Authorization request after each page refresh HOT 7
- access to HA without logging in (use token) HOT 4
- AlarmCard
- Card title and description HOT 3
- useDevice hook HOT 6
- Style rgb variables for error/warning/success HOT 4
- Deploy docs update: SSH add-on HOT 3
- Theme provider flashes HOT 1
- ThemeProvider - precompile and make more dynamic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-component-kit.