1
mirror of https://github.com/home-assistant/core synced 2024-08-15 18:25:44 +02:00
ha-core/tests
starkillerOG 4bdd8cb459
Shelly migrate to update entity (#78305)
* Add update entity

* fixes

* fixes

* change to CONFIG catogory

* return latest version if no update available

* fixes

* Remove firmware binary_sensors and buttons

* import Callable from collections

* remove ota_update tests

* Update homeassistant/components/shelly/update.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* simplify

* fix mypy

* Create test_update.py

* fix isort

* add progress support

* fix styling

* fix update_tests

* fix styling

* do not exclude shelly update test

* bring coverage to 100%

* snake case

* snake case

* change str(x) to cast(str, x)

* simplify tests

* further simplify tests

* Split MOCK_SHELLY_COAP and MOCK_SHELLY_RPC

* fix issort

* fix status test

* fix isort

* run python3 -m script.hassfest

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-09-28 20:21:30 +03:00
..
auth Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
backports
components Shelly migrate to update entity (#78305) 2022-09-28 20:21:30 +03:00
fixtures Add device HmIP-STE2-PCB to homematicip_cloud (#75369) 2022-07-25 18:15:02 +02:00
hassfest
helpers Improve check of new_entity_id in entity_registry.async_update_entity (#78276) 2022-09-28 08:43:58 +02:00
pylint Adjust pylint plugin for tests directory (#78727) 2022-09-19 14:27:21 +02:00
resources
scripts
test_util JSON serialize NamedTuple subclasses with aiohttp (#74971) 2022-07-11 14:46:55 -07:00
testing_config Prevent deleting blueprints which are in use (#78444) 2022-09-14 16:47:08 +02:00
util Cleanup unit conversion (#79197) 2022-09-28 13:49:46 +02:00
__init__.py
bandit.yaml
common.py Make hass.data["mqtt"] an instance of a DataClass (#77972) 2022-09-17 21:43:42 +02:00
conftest.py Fix recorder fixtures (#79147) 2022-09-27 17:00:06 +02:00
ignore_uncaught_exceptions.py
test_bootstrap.py Add a context variable holding a HomeAssistant reference (#76303) 2022-08-22 15:58:01 +02:00
test_config_entries.py Add a helpful message to the config_entries.OperationNotAllowed exception (#78631) 2022-09-17 20:52:28 +03:00
test_config.py Significantly improve yaml load times when the C loader is available (#73337) 2022-06-13 08:44:46 -10:00
test_core.py Fix memory leak when firing state_changed events (#72571) 2022-05-26 20:54:26 -07:00
test_data_entry_flow.py Add a callback for data flow handler removal (#77394) 2022-08-29 16:25:34 -04:00
test_exceptions.py
test_loader.py Change manufacturer_data_first_byte to manufacturer_data_start (#75379) 2022-07-17 17:25:45 -05:00
test_main.py
test_requirements.py Check if requirements are installed in the executor (#71611) 2022-06-13 13:10:05 -07:00
test_runner.py
test_setup.py
test_test_fixtures.py Set cv hass in hass fixture (#77271) 2022-08-25 12:29:31 +02:00