Conditions for Todo items

I’m looking to use the Todo list functionality in a semi automated way, where the state of devices can automatically make the todo items as done.

This would enable, as an example, a Todo list for battery replacement. An automation could add battery replacement to the Todo list for a specific device, a condition would be assigned to that item that would be met if that devices battery >98%, and automatically mark that item as done.

I believe this could be done by allowing conditions (as they already are implemented) to be linked to individual Todo list items? (And also created through automations).

Just use the condition in your automation that adds the item to the todo list.

But I want the item to be cleared when the condition is met, not created?

Then add the condition to your automation that clears the item.