mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update source/_posts/2024-05-01-release-20245.markdown
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
de37bf48eb
commit
aa3db81cf7
@ -427,7 +427,7 @@ now exposes the state in lowercase.
|
|||||||
Previously, `recorder.purge_entities` called with no arguments would purge all
|
Previously, `recorder.purge_entities` called with no arguments would purge all
|
||||||
entities. This PR makes this call raise an error instead.
|
entities. This PR makes this call raise an error instead.
|
||||||
|
|
||||||
It was too easy for a user to accidentally purge his entire database using the
|
It was too easy for users to accidentally purge their entire database using the
|
||||||
old logic. Users who want to purge all entities can still use
|
old logic. Users who want to purge all entities can still use
|
||||||
the `recorder.purge` service to achieve the same effect, and that service
|
the `recorder.purge` service to achieve the same effect, and that service
|
||||||
is more obvious in how it behaves.
|
is more obvious in how it behaves.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user