ha-core/homeassistant/helpers
Jan Bouwhuis 84308c9e53
Add title feature to notify entity platform (#116426)
* Add title feature to notify entity platform

* Add overload variants

* Remove overloads, update signatures

* Improve test coverage

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Do not use const

* fix typo

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-03 11:17:28 +02:00
..
backports Switch to using the AsyncResolver with aiohttp (#114529) 2024-04-05 23:15:51 -04:00
service_info Use existing monotonic timestamp on mqtt messages for debugging (#116196) 2024-04-25 19:09:54 -05:00
__init__.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
aiohttp_client.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
area_registry.py Move thread safety check in area_registry sooner (#116265) 2024-04-27 09:26:35 +02:00
category_registry.py Use EventType for remaining registry events (#115189) 2024-04-08 08:25:39 -10:00
check_config.py Add missing platforms_exist guard to check_config (#114600) 2024-04-01 21:37:30 -04:00
collection.py Improve loops and lists (#113269) 2024-03-14 10:22:20 +01:00
condition.py Enable Ruff TRY201 (#114269) 2024-03-28 10:18:07 +01:00
config_entry_flow.py Await discovery_function in the DiscoveryFlowHandler instead of wrapping it in a task (#113115) 2024-03-11 21:37:03 -04:00
config_entry_oauth2_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
config_validation.py Enable Ruff RUF019 (#115396) 2024-04-24 07:23:24 +02:00
data_entry_flow.py Update typing extensions to 4.11.0 (#114985) 2024-04-06 14:23:32 +02:00
debounce.py Add the ability to create Debouncer tasks as background tasks (#113128) 2024-03-12 08:41:12 -04:00
deprecation.py Deprecated old backports and typing aliases (#114883) 2024-04-06 13:15:30 -10:00
device_registry.py Move thread safety check in device_registry sooner (#116264) 2024-04-27 09:24:55 +02:00
discovery.py Adjust async_load_platform comment to remove dead lock reference (#114771) 2024-04-03 22:53:31 -04:00
discovery_flow.py Make discovery flow tasks background tasks (#116327) 2024-04-28 08:13:37 -05:00
dispatcher.py Add debug mode to catch unsafe thread operations using core helpers (#115390) 2024-04-24 03:36:05 +02:00
entity.py Make a copy of capability_attributes instead of making a new dict (#116477) 2024-04-30 17:54:33 -05:00
entity_component.py Add thread safety checks to async_create_task (#116339) 2024-04-28 18:29:00 -04:00
entity_platform.py Add thread safety checks to async_create_task (#116339) 2024-04-28 18:29:00 -04:00
entity_registry.py Remove entity category "system" check from entity registry (#116412) 2024-04-30 04:01:12 +02:00
entity_values.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
entityfilter.py Improve loops and lists (#113269) 2024-03-14 10:22:20 +01:00
event.py Small speed up to async_track_event (#116083) 2024-04-24 09:56:59 +02:00
floor_registry.py Use EventType for remaining registry events (#115189) 2024-04-08 08:25:39 -10:00
frame.py Add debug mode to catch unsafe thread operations using core helpers (#115390) 2024-04-24 03:36:05 +02:00
group.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
http.py Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
httpx_client.py Add first batch of Ruff PYI rules (#115100) 2024-04-07 11:30:50 -10:00
icon.py Keep track of top level components (#115586) 2024-04-17 13:23:20 +02:00
importlib.py Adjust importlib helper to avoid leaking memory on re-raise (#115377) 2024-04-10 15:19:17 -10:00
instance_id.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
integration_platform.py Add thread safety checks to async_create_task (#116339) 2024-04-28 18:29:00 -04:00
intent.py Add thread safety checks to async_create_task (#116339) 2024-04-28 18:29:00 -04:00
issue_registry.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
json.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
label_registry.py Use EventType for remaining registry events (#115189) 2024-04-08 08:25:39 -10:00
location.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
network.py Add strict connection for cloud (#115814) 2024-04-24 09:57:38 +02:00
normalized_name_base_registry.py Reduce code for registry items with a base class (#114689) 2024-04-03 09:02:32 +02:00
ratelimit.py Small cleanups to the rate limit helper (#115621) 2024-04-15 13:42:28 +02:00
recorder.py Make dataclasses in HA core slotted (#91208) 2023-04-11 07:58:28 -10:00
redact.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
registry.py Improve registry store data typing (#115066) 2024-04-06 14:34:49 -10:00
reload.py Add first batch of Ruff PYI rules (#115100) 2024-04-07 11:30:50 -10:00
restore_state.py Add thread safety checks to async_create_task (#116339) 2024-04-28 18:29:00 -04:00
schema_config_entry_flow.py Improve FlowHandler menu_options typing (#115296) 2024-04-11 22:14:37 -04:00
script.py Add thread safety checks to async_create_task (#116339) 2024-04-28 18:29:00 -04:00
script_variables.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
selector.py Add title feature to notify entity platform (#116426) 2024-05-03 11:17:28 +02:00
sensor.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
service.py Don't reload other automations when saving an automation (#80254) 2024-04-16 15:58:57 +02:00
signal.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
significant_change.py Enable Ruff PYI041 (#115229) 2024-04-08 09:29:05 -10:00
singleton.py Speed up singleton decorator so it can be used more places (#116292) 2024-04-28 12:11:08 -05:00
start.py Deprecate calling async_listen and async_listen_once with run_immediately (#115169) 2024-04-08 10:07:54 -10:00
state.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
storage.py Add thread safety checks to async_create_task (#116339) 2024-04-28 18:29:00 -04:00
sun.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
system_info.py Fix system_info importing hassio in the event loop (#113903) 2024-03-20 12:06:40 -10:00
temperature.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
template.py Remove deprecation warnings for relative_time (#116144) 2024-04-25 13:02:18 +02:00
trace.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
translation.py Speed up singleton decorator so it can be used more places (#116292) 2024-04-28 12:11:08 -05:00
trigger.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
trigger_template_entity.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
typing.py Use EventType for system events (#115190) 2024-04-08 08:25:34 -10:00
update_coordinator.py Fix race in TimestampDataUpdateCoordinator (#115542) 2024-04-13 16:35:07 -04:00