Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
history allowed to load states with invalid entity IDs #20399
Yet another slugify fallout… history would contain invalid IDs, which are convered to HA States before being rendered as JSON (yes, that's very inefficient and we should fix that, but not in this PR).
Exception would occur when converting to native, as it blew up on the invalid entity ID. Solution is to temporarily allow history to disable the slugify validation when restoring states.
Related issue (if applicable): fixes #20371
If the code does not interact with devices: