marcokreeft87 / formulaone-card

Present the data of Formula One in a pretty way
MIT License
137 stars 10 forks source link

Card doesn't exists in conditional card on Fully Kiosk Browser and phone #318

Closed larsvdmanden closed 7 months ago

larsvdmanden commented 9 months ago

Hi,

I had a good working custom:formulaone-card but I wanted to see the days till the next race changed with a Christmas countdown. The code below is working on my computer browser, but not on my phone or in Fully Kiosk browser (see screendumps). It's since I made a conditional card from it. What is going wrong?

type: custom:stack-in-card parameters: scrollbar: hide: false draggable: true snapOnRelease: true cards:

IMG_3534 IMG_3533

marcokreeft87 commented 9 months ago

Hmm weird. The logo is there so it is doing something. I don't have the time till tomorrow to check for you so hold on

larsvdmanden commented 9 months ago

Many thanks!

The iOS app looks okay now, it might did need a restart. But on the Fully Kiosk app, the problem is still there after deleting the cache and restarting the app several times. As you can see exactly the same dashboard is working on a Chrome browser. The code I am using is also working on the tablet without the conditions, so it just appears on the Fire Tablet with the full kiosk app when it comes into the condition template.

Scherm­afbeelding 2023-11-23 om 21 00 28
marcokreeft87 commented 7 months ago

@larsvdmanden is your issue solved btw? Kinda forgot this issue xD

larsvdmanden commented 7 months ago

I don't know actually, it still says: Season is over. See you next year!

marcokreeft87 commented 7 months ago

So it's working. Season over is another issue caused by the api

larsvdmanden commented 6 months ago

Now the api is working again and the countdown actually showing a countdown... the problem is back. On the pc it says 'error getting next race', whilst on the smartphone everything is fine. I really don't understand why it's behaving like this. It's exactly the same card/code on phone as on web. Do you have any idea?

Screenshot 2024-03-08 at 21 45 18
marcokreeft87 commented 6 months ago

Now the api is working again and the countdown actually showing a countdown... the problem is back. On the pc it says 'error getting next race', whilst on the smartphone everything is fine. I really don't understand why it's behaving like this. It's exactly the same card/code on phone as on web. Do you have any idea?

Screenshot 2024-03-08 at 21 45 18

Because the card cached the data on the device. So it's different on each device

larsvdmanden commented 6 months ago

Oh, it's fully working now! I think it was a cache thing indeed. But the problem I had last year is solved as well lol. Happy!