working 2.0 clone

This commit is contained in:
root
2024-10-01 14:06:39 +00:00
commit 873064d680
704 changed files with 46961 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
"""JSON utils."""
try:
# Could be removed after 2022.06 is the min version
# But in case Home Assistant changes, keep this try/except here...
from homeassistant.helpers.json import json_loads
except ImportError:
from json import loads as json_loads
__all__ = ["json_loads"]