Manually edit Last replaced time? #3932
-
|
During the migration of my Zigbee setup i lost the pairing of main entity to battery notes entities. I have tried deleting the original ones and renaming the new ones to the old names (this worked for keeping the history of my other entities) but still ended up with all my batteries replaced "yesterday". Is there a way to manually edit the last replaced time, so i can keep data? I might be able to edit it in the db, but knowing how easily an sqlite db can get corrupted i'd rather avoid that. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi, you can manually set the battery replaced date using an action. |
Beta Was this translation helpful? Give feedback.
Hi, you can manually set the battery replaced date using an action.
See the documentation here
https://codechimp.org/HA-Battery-Notes/actions/