hass-core/tests
Jan Bouwhuis c78cae4483
Fix handling None or empty value for numeric MQTT sensor (#87004)
* Allow `None` for numeric sensor, ignore empty val

* Add test case with omitting a value

* Use _numeric_state_expected property

* Only respect None if numeric state is expected
2023-02-07 11:23:23 +01:00
..
auth Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
backports
components Fix handling None or empty value for numeric MQTT sensor (#87004) 2023-02-07 11:23:23 +01:00
fixtures Add device HmIP-DRDI3 (#83337) 2022-12-18 12:44:49 -07:00
hassfest Enable Ruff PT022 (#86792) 2023-01-27 13:57:06 +01:00
helpers Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
pylint Add per-file-ignore to pylint (#86289) 2023-01-22 17:26:24 +01:00
resources
scripts Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
test_util Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
testing_config Move sensor rounding to frontend (#87330) 2023-02-04 14:54:36 -05:00
util Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
__init__.py
bandit.yaml
common.py Add type hints for MQTT common helper and fixtures (#87065) 2023-02-03 19:27:46 +01:00
conftest.py Correct type hints mqtt_client_mock and move new generator type (#87527) 2023-02-06 15:05:06 +01:00
ignore_uncaught_exceptions.py
ruff.toml Enable Ruff PT021 (#86801) 2023-01-27 17:14:04 +01:00
test_bootstrap.py Adjusts imports in tests to match our relative import rules (#86788) 2023-01-27 12:51:58 +01:00
test_config.py Adjusts imports in tests to match our relative import rules (#86788) 2023-01-27 12:51:58 +01:00
test_config_entries.py Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
test_core.py Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
test_data_entry_flow.py Adjusts imports in tests to match our relative import rules (#86788) 2023-01-27 12:51:58 +01:00
test_exceptions.py Fix TemplateError definition (#82570) 2022-11-23 20:30:32 +01:00
test_loader.py Adjusts imports in tests to match our relative import rules (#86788) 2023-01-27 12:51:58 +01:00
test_main.py Allow only specific packages to be skipped during startup dependency installation (#82758) 2022-11-30 08:38:52 +01:00
test_requirements.py Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
test_runner.py Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
test_setup.py Adjusts imports in tests to match our relative import rules (#86788) 2023-01-27 12:51:58 +01:00
test_test_fixtures.py
typing.py Correct type hints mqtt_client_mock and move new generator type (#87527) 2023-02-06 15:05:06 +01:00