decompil3d / lovelace-hourly-weather

Hourly weather card for Home Assistant. Visualize upcoming weather conditions as a colored horizontal bar.
MIT License
293 stars 31 forks source link

Color customization does not work on iPad with home assistant app #731

Closed RK62 closed 2 weeks ago

RK62 commented 3 weeks ago

Checklist:

Release with the issue: Home Assistant 2008.08

Last working release (if known): Home Assistant 2008.07

Browser and Operating System: Home Assistant App on iPad

Description of problem: The color adjustment is ignored on the iPad when using the home assistant app. Works perfectly on the iPhone or on the same iPad with Safari.

Additional information: Releases:

Same problem as here? https://github.com/mlamberts78/weather-chart-card/issues/222

See Hardcopy: left side Safari, right side Home Assistant App IMG_20240820_184601-0273

decompil3d commented 3 weeks ago

Writing myself some notes here. I'm not able to dive into this right now, but maybe someone else wants to take a stab.

Perhaps related to home-assistant/iOS#2908.

PR they suggested for the other card: https://github.com/mlamberts78/weather-chart-card/pull/223

Tl;dr: remove dynamic css styles. Use css vars in styleMap instead.

RK62 commented 2 weeks ago

Works fine again with Home Assistant App 2024.8