Skip to content

Commit 854b012

Browse files
refactor: update domain in manifest to match the home-assistant brands repo naming
1 parent c94bcf4 commit 854b012

File tree

20 files changed

+41
-41
lines changed

20 files changed

+41
-41
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ jobs:
132132
133133
- name: Run linting
134134
run: |
135-
black --check --diff custom_components/areas/
136-
isort --check-only --diff custom_components/areas/
137-
flake8 custom_components/areas/
138-
ruff check custom_components/areas/
139-
cd custom_components && python -m mypy areas/
135+
black --check --diff custom_components/custom_areas/
136+
isort --check-only --diff custom_components/custom_areas/
137+
flake8 custom_components/custom_areas/
138+
ruff check custom_components/custom_areas/
139+
cd custom_components && python -m mypy custom_areas/

.github/workflows/manual-validation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ jobs:
7575
7676
- name: Run linting
7777
run: |
78-
black --check --diff custom_components/areas/
79-
isort --check-only --diff custom_components/areas/
80-
flake8 custom_components/areas/
78+
black --check --diff custom_components/custom_areas/
79+
isort --check-only --diff custom_components/custom_areas/
80+
flake8 custom_components/custom_areas/
8181
8282
manual-type-check:
8383
if: inputs.validation_type == 'all' || inputs.validation_type == 'type-check'

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Custom Areas Integration](/docs/images/logo.svg "Custom Areas Integration Logo")
1+
![Custom Areas Integration](/docs/images/logo.png "Custom Areas Integration Logo")
22

33
# Custom Areas Integration
44

@@ -50,7 +50,7 @@ Not affiliated with Home Assistant — just vibing on top of it.
5050

5151
### Manual Installation
5252

53-
1. Download the `custom_components/areas/` folder from this repository
53+
1. Download the `custom_components/custom_areas/` folder from this repository
5454
2. Copy it to your Home Assistant's `custom_components/` directory
5555
3. Restart Home Assistant
5656

@@ -139,7 +139,7 @@ Add this to your `configuration.yaml` to enable debug logging:
139139
logger:
140140
default: info
141141
logs:
142-
custom_components.areas: debug
142+
custom_components.custom_areas: debug
143143
```
144144
145145
## Contributing
@@ -184,9 +184,9 @@ Or run individual checks:
184184
python validate.py # Custom validation
185185
python run_tests.py # Unit tests
186186
pyright # Type checking
187-
black --check custom_components/areas/ # Code formatting
188-
isort --check-only custom_components/areas/ # Import sorting
189-
flake8 custom_components/areas/ # Linting
187+
black --check custom_components/custom_areas/ # Code formatting
188+
isort --check-only custom_components/custom_areas/ # Import sorting
189+
flake8 custom_components/custom_areas/ # Linting
190190
```
191191

192192
### Pre-commit Setup

check_all.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def main():
2828
all_passed = True
2929

3030
# Check if we're in the right directory
31-
if not Path("custom_components/areas").exists():
31+
if not Path("custom_components/custom_areas").exists():
3232
print("❌ Not in the correct directory. Please run from the project root.")
3333
return 1
3434

@@ -45,13 +45,13 @@ def main():
4545
all_passed = False
4646

4747
# Run linting
48-
if not run_command("black --check --diff custom_components/areas/", "Black formatting check"):
48+
if not run_command("black --check --diff custom_components/custom_areas/", "Black formatting check"):
4949
all_passed = False
5050

51-
if not run_command("isort --check-only --diff custom_components/areas/", "Import sorting check"):
51+
if not run_command("isort --check-only --diff custom_components/custom_areas/", "Import sorting check"):
5252
all_passed = False
5353

54-
if not run_command("flake8 custom_components/areas/", "Flake8 linting"):
54+
if not run_command("flake8 custom_components/custom_areas/", "Flake8 linting"):
5555
all_passed = False
5656

5757
# Run pre-commit (if available)
File renamed without changes.
File renamed without changes.

custom_components/areas/manifest.json renamed to custom_components/custom_areas/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"domain": "areas",
2+
"domain": "custom_areas",
33
"name": "Custom Areas Integration",
44
"codeowners": ["@DefinitelyADev"],
55
"config_flow": true,
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)