diff --git a/custom_components/pyscript/state.py b/custom_components/pyscript/state.py index c057936..88130b0 100644 --- a/custom_components/pyscript/state.py +++ b/custom_components/pyscript/state.py @@ -423,6 +423,7 @@ def register_functions(cls): "state.get_attr": cls.get_attr, # deprecated form; to be removed "state.persist": cls.persist, "state.delete": cls.delete, + "state.exist": cls.exist, "pyscript.config": cls.pyscript_config, } Function.register(functions)