core/homeassistant/helpers
Erik Montnemery 709ce7e0af
Set state of entity with invalid state to unknown (#99452)
* Set state of entity with invalid state to unknown

* Add test

* Apply suggestions from code review

Co-authored-by: Robert Resch <robert@resch.dev>

* Update test_entity.py

---------

Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-04 14:09:51 +02:00
..
service_info
__init__.py
aiohttp_client.py Use asyncio.timeout [core] (#98447) 2023-08-15 08:36:05 -05:00
aiohttp_compat.py
area_registry.py
check_config.py Don't allow hass.config.config_dir to be None (#98442) 2023-08-16 13:00:14 +02:00
collection.py
condition.py
config_entry_flow.py
config_entry_oauth2_flow.py Use asyncio.timeout [core] (#98447) 2023-08-15 08:36:05 -05:00
config_validation.py Remove unnnecessary pylint configs from core (#98704) 2023-08-22 23:12:12 +02:00
data_entry_flow.py
debounce.py Downgrade Debouncer call ignored log message (#98840) 2023-08-22 14:42:33 -05:00
deprecation.py
device_registry.py
discovery.py
discovery_flow.py
dispatcher.py
entity.py Set state of entity with invalid state to unknown (#99452) 2023-09-04 14:09:51 +02:00
entity_component.py
entity_platform.py
entity_registry.py
entity_values.py
entityfilter.py
event.py Refactor async_call_at and async_call_later event helpers to avoid creating closures (#99469) 2023-09-03 08:19:06 -05:00
frame.py
httpx_client.py
icon.py
instance_id.py
integration_platform.py
intent.py
issue_registry.py Make the check_config script open issue_registry read only (#98545) 2023-08-18 20:15:00 +02:00
json.py Remove unnnecessary pylint configs from core (#98704) 2023-08-22 23:12:12 +02:00
location.py
network.py
ratelimit.py
recorder.py
reload.py
restore_state.py
schema_config_entry_flow.py Use a single WS command for group preview (#98903) 2023-08-24 11:59:24 +02:00
script.py Extend template entities with a script section (#96175) 2023-09-02 16:19:45 -07:00
script_variables.py
selector.py Add lawnmower entity (#93623) 2023-08-21 12:19:55 +02:00
sensor.py
service.py Upgrade ruff to 0.0.285 (#98647) 2023-08-19 08:17:17 -04:00
signal.py
significant_change.py
singleton.py
start.py
state.py
storage.py Remove unnnecessary pylint configs from core (#98704) 2023-08-22 23:12:12 +02:00
sun.py
system_info.py
temperature.py
template.py Use asyncio.timeout [core] (#98447) 2023-08-15 08:36:05 -05:00
trace.py
translation.py
trigger.py
trigger_template_entity.py Move TemplateEntity to template (#98957) 2023-08-24 15:37:04 +02:00
typing.py
update_coordinator.py Use loop.time in DataUpdateCoordinator (#98937) 2023-08-28 10:16:34 -05:00