I am new here and am trying out all sorts of things to learn from HA.
I have a printer ink level trigger.
This works ok, but would like to keep track of how many times each entity is triggered.
It is possible for HA to automatically use trigger.entity_id
maintain a couter that counts this per entity.
All reactions are very welcome, that’s how I learn the most.
Here my code.