-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
secondary info template #124
Comments
|
sorry,
|
Because templates are wrong.
must be
|
@hiagocosta I think it is the same bug as described here: #62 Use state template, something like this:
|
That issue #62 is not a bug - OP created it because he expected smth which is not supported. And did not close the issue after receiving explanations. |
@ildar170975 I was only replying about the last question of OP because I had a similar issue with missing units:
the |
I see, thanks for clarifications. |
Exactly 👍 |
for UOM, you can use:
or
@hiagocosta if all of the above answers your config trouble, please close, so Thomas needs to check only valid/open issues? thx! |
Are there any plans to implement last-changed information? |
@ganjakyp-hub |
Maybe I didn’t understand something, but I tried different methods and they don’t work:
|
does not work in a template-entity-row config, as that is an option for regular entities rows/cards. in the template-entity-row, as it accepts any template, it's up to you what you want to show there. cut it short: all options in template-entity-row require (well, accept) a template. ofc you can set an icon directly.... or a name. |
It seems I solved the issue using a third party component https://github.com/TheFes/relative-time-plus secondary: >- Unfortunately this component incorrectly inflects words in Russian :( |
that relative-time-plus only formats, and has nothing to do with the options for template-entity-row itself. if it results in Russian, maybe your system language is in Russian? that is not incorrect, that is as expected then. You can probably set a language flag in that template, but then you need to check with that component. btw, maybe you are aware, but you can do this in a filter template:
or
for that matter (just to illustrate the variable entity_id in the first template is a mere string of choice.) |
That is, it is impossible to add support for regular secondary_info? |
It doesn't work, something wrong?
|
well, almost everything is wrong there yes... your state template is not correct, missing the 'else' value secondly, your are using a auto-entities filter template inside the template-entity-row config..... besides, you are using this
which seems incorrect. do you have let me suggest you hop over to the Community where we can help you out with all of this. not for config assistance @hiagocosta please close as there is no more issue? |
Maybe it's possible to add this as a feature request? |
add what? its not really clear what you want, and besides that, before making a FR, please try and figure out your errors, because you clearly are mixing various things up. as said, this is not the place for that. |
hi,
i'm trying to implement the templantes on a row for my Fire Tablet, that will inform it's currently situation, if is charging or not,
but I think that my logics is good enough...
I miss a bit
The text was updated successfully, but these errors were encountered: