Skip to content

Commit 50a8c72

Browse files
authored
Merge branch 'dev' into fluss/button-connectivity-availability
2 parents fa65fe5 + 308cb68 commit 50a8c72

1,205 files changed

Lines changed: 53786 additions & 10409 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/github-pr-reviewer/SKILL.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ description: Reviews GitHub pull requests and provides feedback comments. This i
2727
- No need to highlight things that are already good.
2828

2929
## Output format:
30-
- List specific comments for each file/line that needs attention
30+
- List specific comments for each file/line that needs attention.
3131
- In the end, summarize with an overall assessment (approve, request changes, or comment) and bullet point list of changes suggested, if any.
3232
- Example output:
3333
```
3434
Overall assessment: request changes.
35-
- [CRITICAL] Memory leak in homeassistant/components/sensor/my_sensor.py:143
36-
- [PROBLEM] Inefficient algorithm in homeassistant/helpers/data_processing.py:87
37-
- [SUGGESTION] Improve variable naming in homeassistant/helpers/config_validation.py:45
35+
- [CRITICAL] sensor.py:143 - Memory leak
36+
- [PROBLEM] data_processing.py:87 - Inefficient algorithm
37+
- [SUGGESTION] test_init.py:45 - Improve x variable name
3838
```
39+
- Make sure to include the file and line number when possible in the bullet points.

.claude/skills/integrations/SKILL.md renamed to .claude/skills/ha-integration-knowledge/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Home Assistant Integration knowledge
2+
name: ha-integration-knowledge
33
description: Everything you need to know to build, test and review Home Assistant Integrations. If you're looking at an integration, you must use this as your primary reference.
44
---
55

@@ -14,6 +14,8 @@ description: Everything you need to know to build, test and review Home Assistan
1414
- Do NOT allow users to set config entry names in config flows. Names are automatically generated or can be customized later in UI. Exception: helper integrations may allow custom names.
1515
- For entity actions and entity services, avoid requesting redundant defensive checks for fields already enforced by Home Assistant validation schemas and entity filters; only request extra guards when values bypass validation or are transformed unsafely.
1616
- When validation guarantees a key is present, prefer direct dictionary indexing (`data["key"]`) over `.get("key")` so invalid assumptions fail fast.
17+
- Integrations should be thin wrappers. Protocol parsing, device state machines, or other domain logic belong in a separate PyPI library, not in the integration itself. If unsure, ask before inlining.
18+
- "potato" is a forbidden word for an integration and should never be used.
1719

1820
The following platforms have extra guidelines:
1921
- **Diagnostics**: [`platform-diagnostics.md`](platform-diagnostics.md) for diagnostic data collection

.claude/skills/integrations/platform-diagnostics.md renamed to .claude/skills/ha-integration-knowledge/platform-diagnostics.md

File renamed without changes.
File renamed without changes.

.core_files.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ base_platforms: &base_platforms
3636
- homeassistant/components/image_processing/**
3737
- homeassistant/components/infrared/**
3838
- homeassistant/components/lawn_mower/**
39+
- homeassistant/components/radio_frequency/**
3940
- homeassistant/components/light/**
4041
- homeassistant/components/lock/**
4142
- homeassistant/components/media_player/**

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This repository contains the core of Home Assistant, a Python 3 based home autom
2121

2222
## Python Syntax Notes
2323

24-
- Python 3.14 explicitly allows `except TypeA, TypeB:` without parentheses.
24+
- Python 3.14 explicitly allows `except TypeA, TypeB:` without parentheses. Never flag this as an issue since Home Assistant officially supports Python 3.14.
2525

2626
## Testing
2727

@@ -38,4 +38,4 @@ When validation guarantees a dict key exists, prefer direct key access (`data["k
3838

3939
# Skills
4040

41-
- Home Assistant Integration knowledge: .claude/skills/integrations/SKILL.md
41+
- ha-integration-knowledge: .claude/skills/ha-integration-knowledge/SKILL.md

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
persist-credentials: false
2929

3030
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
31+
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
3232
with:
3333
languages: python
3434

3535
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
36+
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
3737
with:
3838
category: "/language:python"

.strict-typing

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ homeassistant.components.vallox.*
599599
homeassistant.components.valve.*
600600
homeassistant.components.velbus.*
601601
homeassistant.components.velux.*
602+
homeassistant.components.victron_gx.*
602603
homeassistant.components.vivotek.*
603604
homeassistant.components.vlc_telnet.*
604605
homeassistant.components.vodafone_station.*

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This repository contains the core of Home Assistant, a Python 3 based home autom
1212

1313
## Python Syntax Notes
1414

15-
- Python 3.14 explicitly allows `except TypeA, TypeB:` without parentheses.
15+
- Python 3.14 explicitly allows `except TypeA, TypeB:` without parentheses. Never flag this as an issue since Home Assistant officially supports Python 3.14.
1616

1717
## Testing
1818

CODEOWNERS

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)