core/tests
Tim 9da155955a
Transport NSW: Set DeviceClass and StateClass (#96928)
* 2023.7.16
- Fix bug with values defaulting to "n/a" in stead of None

* 2023.7.16
- Set device class and state classes on entities

* 2023.7.16
- Set StateClass and DeviceClass directly on the entitiy

* 2023.7.16
- Fix black and ruff issues

* 2023.7.17
- Update logic catering for the 'n/a' response on an API failure
- Add testcase

* - Fix bug in formatting

* 2023.7.17
- Refacotr to consider the "n/a" response returned from the Python lib
on an error or faliure
- Remove setting of StateClass and DeviceClass as requested
- Add "n/a" test case

* 2023.7.17
- Remove unused imports

* 2023.7.18
- Apply review requested changes

* - Additional review change resolved

* Add State and Device class attributes
2023-07-20 08:35:26 +02:00
..
auth
backports
components Transport NSW: Set DeviceClass and StateClass (#96928) 2023-07-20 08:35:26 +02:00
fixtures
hassfest
helpers Improve handling of unrecoverable storage corruption (#96712) 2023-07-19 09:23:12 +02:00
pylint
resources
scripts
test_util
testing_config Implement Wind Gust speed in Weather entity component (#95065) 2023-06-23 08:22:46 +02:00
util Update Ruff to v0.0.277 (#96108) 2023-07-09 10:10:23 -04:00
__init__.py
common.py Allow stopping a script with a response value (#95284) 2023-06-27 08:24:22 +02:00
conftest.py Refactor async_get_hass to rely on threading.local instead of a ContextVar (#96005) 2023-07-07 14:52:38 -04:00
ignore_uncaught_exceptions.py
ruff.toml Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
syrupy.py Use ReadOnlyDict for entity registry options (#93824) 2023-05-30 20:11:39 -04:00
test_bootstrap.py
test_config.py
test_config_entries.py Debounce discoveries to improve event loop stability at the started event (#94690) 2023-06-15 22:15:07 -04:00
test_core.py Refactor async_get_hass to rely on threading.local instead of a ContextVar (#96005) 2023-07-07 14:52:38 -04:00
test_data_entry_flow.py Reduce in progress flow matching overhead (#94403) 2023-06-11 10:41:38 +02:00
test_exceptions.py
test_loader.py Complete persistent notifications migration (#92828) 2023-05-25 23:09:13 -04:00
test_main.py
test_requirements.py
test_runner.py
test_setup.py Detect attempt to setup config entry integration via YAML (#93589) 2023-05-29 21:01:47 +02:00
test_test_fixtures.py
typing.py