core/tests/helpers
Raman Gupta 2f7a7b0309
Add template functions to get area_id and area_name (#54248)
* Add template function to get area_id

* fix int bug

* Prefer area name lookup

* remove unnecessary checks

* fix import

* Add area_name function

* change behavior to fail in ambiguous scenarios

* Revert lotto winning exception checking

* review comments

* try except else
2021-08-25 15:16:51 -04:00
..
__init__.py
conftest.py
test_aiohttp_client.py Protect our user agent (#51486) 2021-06-04 09:14:18 -07:00
test_area_registry.py
test_check_config.py
test_collection.py
test_condition.py Support dynamic schema validation in device conditions and actions (#52007) 2021-06-28 09:23:46 +02:00
test_config_entry_flow.py
test_config_entry_oauth2_flow.py
test_config_validation.py Extract attribute names out of vol.Optional when validating entity service schema (#55157) 2021-08-25 13:00:11 +02:00
test_debounce.py
test_deprecation.py
test_device_registry.py Only disable a device if all associated config entries are disabled (#53681) 2021-07-29 12:08:53 -07:00
test_discovery.py
test_dispatcher.py
test_entity.py
test_entity_component.py
test_entity_platform.py Merge system options into pref properties (#51347) 2021-06-01 22:34:31 +02:00
test_entity_registry.py Merge system options into pref properties (#51347) 2021-06-01 22:34:31 +02:00
test_entity_values.py
test_entityfilter.py
test_event.py Add timedelta option for async_call_later (#50164) 2021-06-12 13:14:35 +02:00
test_frame.py Spelling fixes (#51642) 2021-06-11 13:35:03 +02:00
test_httpx_client.py
test_icon.py
test_init.py
test_instance_id.py
test_integration_platform.py
test_intent.py
test_json.py
test_location.py
test_network.py
test_ratelimit.py
test_recorder.py
test_reload.py
test_restore_state.py Add Save Persistent States service (#53881) 2021-08-10 00:38:56 +02:00
test_script.py Support dynamic schema validation in device conditions and actions (#52007) 2021-06-28 09:23:46 +02:00
test_script_variables.py
test_selector.py
test_service.py
test_significant_change.py
test_singleton.py
test_start.py
test_state.py
test_storage.py
test_storage_remove.py
test_sun.py
test_system_info.py Add user to homeassistant system health (#53902) 2021-08-03 11:58:27 +02:00
test_temperature.py
test_template.py Add template functions to get area_id and area_name (#54248) 2021-08-25 15:16:51 -04:00
test_translation.py
test_trigger.py Allow integrations to define trigger platforms with a subtype (#54861) 2021-08-19 21:43:04 -07:00
test_update_coordinator.py Merge system options into pref properties (#51347) 2021-06-01 22:34:31 +02:00