Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/frontend/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"documentation": "https://www.home-assistant.io/integrations/frontend",
"integration_type": "system",
"quality_scale": "internal",
"requirements": ["home-assistant-frontend==20250806.0"]
"requirements": ["home-assistant-frontend==20250811.0"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/stiebel_eltron/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/stiebel_eltron",
"iot_class": "local_polling",
"loggers": ["pymodbus", "pystiebeleltron"],
"requirements": ["pystiebeleltron==0.1.0"]
"requirements": ["pystiebeleltron==0.2.3"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/unifi/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"integration_type": "hub",
"iot_class": "local_push",
"loggers": ["aiounifi"],
"requirements": ["aiounifi==84"],
"requirements": ["aiounifi==86"],
"ssdp": [
{
"manufacturer": "Ubiquiti Networks",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/helpers/config_entry_oauth2_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __init__(
@property
def name(self) -> str:
"""Name of the implementation."""
return "Configuration.yaml"
return "Local application credentials"

@property
def domain(self) -> str:
Expand Down
12 changes: 9 additions & 3 deletions homeassistant/helpers/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,7 @@ class StateSelectorConfig(BaseSelectorConfig, total=False):

entity_id: str
hide_states: list[str]
multiple: bool


@SELECTORS.register("state")
Expand All @@ -1350,17 +1351,22 @@ class StateSelector(Selector[StateSelectorConfig]):
# selectors into two types: one for state and one for attribute.
# Limiting the public use, prevents breaking changes in the future.
# vol.Optional("attribute"): str,
vol.Optional("multiple", default=False): cv.boolean,
}
)

def __init__(self, config: StateSelectorConfig) -> None:
"""Instantiate a selector."""
super().__init__(config)

def __call__(self, data: Any) -> str:
def __call__(self, data: Any) -> str | list[str]:
"""Validate the passed selection."""
state: str = vol.Schema(str)(data)
return state
if not self.config["multiple"]:
state: str = vol.Schema(str)(data)
return state
if not isinstance(data, list):
raise vol.Invalid("Value should be a list")
return [vol.Schema(str)(val) for val in data]


class StatisticSelectorConfig(BaseSelectorConfig, total=False):
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ habluetooth==5.0.1
hass-nabucasa==0.111.2
hassil==2.2.3
home-assistant-bluetooth==1.13.1
home-assistant-frontend==20250806.0
home-assistant-frontend==20250811.0
home-assistant-intents==2025.7.30
httpx==0.28.1
ifaddr==0.2.0
Expand Down
6 changes: 3 additions & 3 deletions requirements_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions requirements_test_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion tests/helpers/test_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,12 @@ def test_time_selector_schema(schema, valid_selections, invalid_selections) -> N
(
{"entity_id": "sensor.abc"},
("on", "armed"),
(None, True, 1),
(None, True, 1, ["on"]),
),
(
{"entity_id": "sensor.abc", "multiple": True},
(["on"], ["on", "off"], []),
(None, True, 1, [True], [1], "on"),
),
(
{"hide_states": ["unknown", "unavailable"]},
Expand Down
Loading