Replies: 3 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
The sensor is more tricky, I think the easiest way would be to have a sensor counting the number of items in your to-do list |
Beta Was this translation helpful? Give feedback.
-
i made a template sensor like this, will this work? |
Beta Was this translation helpful? Give feedback.
-
Instead of getting a persistent notification, i'm trying to add it to my todo list for each battery below threshold.
I tried this, but get error:
[code=yaml]
sequence:
- service: todo.add_item
metadata: {}
data:
item: {{ trigger.event.data.device_name }} Batterij laag. Nodig {{
trigger.event.data.battery_quantity }}× {{
trigger.event.data.battery_type }}
target:
entity_id: todo.to_do
[/code]
Anyone succeeded in this?
I also want a sensor that counts the batteries that need a charge or change..
How can i do that?
Reason for this is, that i want a button in my dashboard, that only shows up, if the count is not 0 , so its present when i need to do actions.
Thx for the help here.
Beta Was this translation helpful? Give feedback.
All reactions