You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was working long ago but changes to the underlying helper methods stopped the display from appearing. You can see the value in the screenshots at the repo. It was working... I'd like to get it working again.
And... it seems (#42) also pointed out this issue...
The issue is that I've spent hours twice now trying to figure out how to call these methods.
The 2nd time the parameters have changed yet again. Can someone please provide examples for how to call these methods in the latest version of these helpers... ??
I'm attempting to use computeStateDisplay() and relativeTime()
I apologize if I'm new enough that you deem that this was obvious. Please feel free to send me to examples to study.
Here's what I think I should be doing but it doesn't compile due to the new third parameter data type changing. I'm trying to make the change but am unsuccessful.
The issue is I don't know from where to get the locale value for the 3rd parameter of computeStateDisplay() since there is one in hass (HomeAssistant) I'm trying to use it but the value can come back as undefined which now fails to compile as you might expect.
The text was updated successfully, but these errors were encountered:
Hi, I'm back and still just as unsuccessful. re: (my #34)
For more than a year now I've had the interval since the last update not showing up on my card : https://github.com/ironsheep/lovelace-rpi-monitor-card
It was working long ago but changes to the underlying helper methods stopped the display from appearing. You can see the value in the screenshots at the repo. It was working... I'd like to get it working again.
And... it seems (#42) also pointed out this issue...
The issue is that I've spent hours twice now trying to figure out how to call these methods.
The 2nd time the parameters have changed yet again. Can someone please provide examples for how to call these methods in the latest version of these helpers... ??
I even found https://custom-cards.github.io/custom-card-helpers/ which is pretty but does not show any example invocations of any of the methods.
I'm attempting to use computeStateDisplay() and relativeTime()
I apologize if I'm new enough that you deem that this was obvious. Please feel free to send me to examples to study.
Here's what I think I should be doing but it doesn't compile due to the new third parameter data type changing. I'm trying to make the change but am unsuccessful.
The issue is I don't know from where to get the locale value for the 3rd parameter of computeStateDisplay() since there is one in hass (HomeAssistant) I'm trying to use it but the value can come back as undefined which now fails to compile as you might expect.
The text was updated successfully, but these errors were encountered: