Closed marksie1988 closed 2 years ago
i think i can take care of it in the next weeks or so
Thanks, It was above my head, I'm still learning typescript but my main focus is python at the moment for work, otherwise I would have spent some time on this.
I also like to see this feature added for being able to migrate my project (context: https://github.com/nielsfaber/scheduler-card/issues/322) 👍
I also don't think the HomeAssistant.locale
property should be optional.
This breaks a simple call like:
computeStateDisplay(hass.localize, hass.states["switch.my_switch"], hass.locale)
Due to hass.locale
being "possibly undefined".
yes I had the same issue when trying to implement, it was not possible with having it set as possibly undefined.
Please could add ability to use locale.time_format ?
This isn't fully implemented yet @iantrich we should reopen this until all date and time functions got updated
My bad. Thanks for clarifying
This got implemented in #50 and will be shipped with the next release 👍
The latest version introduces
locale.time_format
please could support be added for this?