mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Remove unused hassfest helper (#82123)
This commit is contained in:
parent
682187541f
commit
35c1604ea7
@ -1,13 +0,0 @@
|
||||
"""Helpers to deal with manifests."""
|
||||
import json
|
||||
import pathlib
|
||||
|
||||
component_dir = pathlib.Path("homeassistant/components")
|
||||
|
||||
|
||||
def iter_manifests():
|
||||
"""Iterate over all available manifests."""
|
||||
manifests = [
|
||||
json.loads(fil.read_text()) for fil in component_dir.glob("*/manifest.json")
|
||||
]
|
||||
return sorted(manifests, key=lambda man: man["domain"])
|
Loading…
x
Reference in New Issue
Block a user