Hello dear community!
I have a somewhat strange question… I currently have a markdown card in which I document a kind of working notes. For example, what I have adjusted or added and when. I’m looking after an additional home assistant and I want the members of the household to stay informed about the changes I’ve made.
The only problem is that they don’t look at these working notes on their own. For this reason, my goal is that a trigger/automation is always triggered after a change to the notes. Now I have played around with input_text, but there is a maximum limit of 255 characters.
What would be the most sensible way to implement something like this? I had thought about creating my own sensor with attributes, creating my own api with a DB behind it, etc… Or should I use the Logbook integration…? But I don’t really have the right approach right now. Do you have any ideas?
Thanks in advance and best regards
Peter
Do you mean that a markdown card is a SOURCE?
Means - you define a content of this card via YAML or in UI editor - and then you wish to trigger some automation?
Then just place a button nearby which triggers this automation.
It could be sufficient if the automation does not need a content of this markdown.
Or this Markdown shows a content of some input_text entity with 255 chars max?
I.e. a helper is a source.
Means - you input a text into this helper (not multiline), then some automation is triggered by a state change.
I feel like I need a fuller example of what you’re trying to do.
What is currently driving your markdown card? What is the source of data?
Have you looked at HA’s todo functionality?
Thank you very much for your answers!
I think the tip with the to-do lists would work. Not nice, but never mind. A new item in the to-do list would also trigger an event, wouldn’t it?
Best regards
Peter
There will be an underlying event you can find through the developer tools > events section, but you might just need to check for state changes, depending on how exactly you intend to use this.
Are you expecting an event that doesn’t only tell you something was added, but also what was added? That I cannot answer, since I haven’t used HA’s todo lists.