We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3939a80 commit 40fdf12Copy full SHA for 40fdf12
homeassistant/components/local_todo/todo.py
@@ -196,11 +196,11 @@ async def async_move_todo_item(
196
item_idx: dict[str, int] = {itm.uid: idx for idx, itm in enumerate(todos)}
197
if uid not in item_idx:
198
raise HomeAssistantError(
199
- "Item '{uid}' not found in todo list {self.entity_id}"
+ f"Item '{uid}' not found in todo list {self.entity_id}"
200
)
201
if previous_uid and previous_uid not in item_idx:
202
203
- "Item '{previous_uid}' not found in todo list {self.entity_id}"
+ f"Item '{previous_uid}' not found in todo list {self.entity_id}"
204
205
dst_idx = item_idx[previous_uid] + 1 if previous_uid else 0
206
src_idx = item_idx[uid]
0 commit comments