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 1bf67b7 commit 656665bCopy full SHA for 656665b
docs/reference.rst
@@ -569,8 +569,8 @@ Persistent State
569
570
This method is provided to indicate that a particular entity_id should be persisted. This is only effective for entitys in the `pyscript` domain.
571
572
-``state.persist(entity_id, default_value=None)``
573
- Indicates that the entity named in `entity_id` should be persisted. Optionally, a default value can be provided.
+``state.persist(entity_id, default_value=None, default_attributes=None)``
+ Indicates that the entity named in `entity_id` should be persisted. Optionally, a default value and default attributes can be provided.
574
575
576
0 commit comments