Compare commits

..

1 Commits

Author SHA1 Message Date
Mike Degatano
695f3a3f99 Remove get_issues_info from hassio __all__ 2026-03-18 15:47:19 +00:00
3 changed files with 5 additions and 9 deletions

View File

@@ -119,7 +119,6 @@ from .coordinator import (
get_core_stats,
get_host_info,
get_info,
get_issues_info,
get_network_info,
get_os_info,
get_store,
@@ -158,7 +157,6 @@ __all__ = [
"get_core_stats",
"get_host_info",
"get_info",
"get_issues_info",
"get_network_info",
"get_os_info",
"get_store",

View File

@@ -1508,7 +1508,6 @@ class StateSelectorConfig(BaseSelectorConfig, total=False):
entity_id: str
hide_states: list[str]
attribute: str
multiple: bool
@@ -1531,7 +1530,11 @@ class StateSelector(Selector[StateSelectorConfig]):
{
vol.Optional("entity_id"): cv.entity_id,
vol.Optional("hide_states"): [str],
vol.Optional("attribute"): str,
# The attribute to filter on, is currently deliberately not
# configurable/exposed. We are considering separating state
# 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,
}
)

View File

@@ -861,11 +861,6 @@ def test_time_selector_schema(schema, valid_selections, invalid_selections) -> N
(),
(),
),
(
{"attribute": "best_attribute"},
(),
(),
),
],
)
def test_state_selector_schema(schema, valid_selections, invalid_selections) -> None: