From bbe71759061161c8a0c16756a8fa16f837eca21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?rich=C3=B6=20butts?= Date: Wed, 27 Nov 2024 10:30:41 -0800 Subject: [PATCH 1/2] Correct __init__ filename in publish instructions --- source/docs/publish/integration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/docs/publish/integration.md b/source/docs/publish/integration.md index 278105dc..96d483b4 100644 --- a/source/docs/publish/integration.md +++ b/source/docs/publish/integration.md @@ -17,7 +17,7 @@ For an integration repository to be valid, it must meet the requirements below. #### OK example: ``` -custom_components/awesome/__init_.py +custom_components/awesome/__init__.py custom_components/awesome/sensor.py custom_components/awesome/manifest.json README.md @@ -26,7 +26,7 @@ README.md #### Not OK example (1): ``` -awesome/__init_.py +awesome/__init__.py awesome/sensor.py awesome/manifest.json README.md @@ -35,7 +35,7 @@ README.md #### Not OK example (2): ``` -__init_.py +__init__.py sensor.py manifest.json README.md From efa36251cf79cddf745f4477e306e9c2640d41bd Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Wed, 27 Nov 2024 15:11:46 -0800 Subject: [PATCH 2/2] Also include hacs.json while spelling out repo format --- source/docs/publish/integration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/docs/publish/integration.md b/source/docs/publish/integration.md index 96d483b4..a816fd1e 100644 --- a/source/docs/publish/integration.md +++ b/source/docs/publish/integration.md @@ -21,6 +21,7 @@ custom_components/awesome/__init__.py custom_components/awesome/sensor.py custom_components/awesome/manifest.json README.md +hacs.json ``` #### Not OK example (1): @@ -29,6 +30,7 @@ README.md awesome/__init__.py awesome/sensor.py awesome/manifest.json +awesome/hacs.json README.md ``` @@ -39,6 +41,7 @@ __init__.py sensor.py manifest.json README.md +hacs.json ``` _if you have `content_in_root` set to `true` in [`hacs.json`](start.md#hacsjson) this is valid._