add never_triggered#4442
Conversation
Add never_triggered to the last-triggered secondary_info. as it stands, the secondary_info line is empty when used on an automation or script that hasn't been triggered yet, while the user expects info on that line.
Mariusthvdb
left a comment
There was a problem hiding this comment.
thanks for your feedback, appreciated!
for automation and script, to use in secondary_info add last_triggered on script, because it was missing
| }, | ||
| "script": { | ||
| "last_triggered": "Last triggered", | ||
| "never_triggered":"Never triggered", |
There was a problem hiding this comment.
Remove these two. You are not using them.
to entities, delete incorrect entries to automation and script
Co-Authored-By: Bram Kragten <mail@bramkragten.nl>
Co-Authored-By: Bram Kragten <mail@bramkragten.nl>
|
Please also test your PR |
Co-Authored-By: Bram Kragten <mail@bramkragten.nl>
ok let me know how? |
|
Follow these instructions: https://developers.home-assistant.io/docs/en/frontend_development.html |
|
That is a bit overtaxing at the moment I fear... setting up a full development environment I wouldn't know where to start with, for such a small edit.. |
|
@bramkragten |
|
Tested, it does not work, probably needs a check against |
|
a check is what I had in my first suggestion, which was later on superseded with Ian 's code. what would be best? to first check if not null? like or should it be: |
|
Probably the second with a falsy check instead of |
|
since this is new to me, I'm not sure what I should add. Checked all never_triggered automations and scripts in HA states, and in template editor. In states they all If that still leaves you needing an extra falsy check, please let me know what that would need to be besides testing for |
|
The problem is not the check it is your translation path. You added your translation to ui.panel.lovelace.editor.entities.never_triggered in |
|
wow, thanks Ian, really appreciated! |


Add never_triggered to the last-triggered secondary_info.
as it stands, the secondary_info line is empty when used on an automation or script that hasn't been triggered yet, while the user expects info on that line.
my suggestion would be to add:
and
to the translation file.