* Register services at integration level If HA is unable to connect to Fully Kiosk, the services don't get registered. This can cause repair to create notifications saying that the 'fully_kiosk.load_url' service is unknown. Fixes #85444 * Validate config entry is loaded * Refactor service invocation Raises `HomeAssistantError` when the user provides an device id that is not in the device registry or a device that is not a Fully Kiosk device. If the device's config entry is not loaded, a warning is logged. * Update homeassistant/components/fully_kiosk/services.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Assert HomeAssistantError when integration unloaded * Remove unused import * Set CONFIG_SCHEMA * Update homeassistant/components/fully_kiosk/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Add test for non fkb devices targets in service calls * Apply suggestions from code review --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com> |
||
---|---|---|
.. | ||
auth | ||
backports | ||
components | ||
fixtures | ||
hassfest | ||
helpers | ||
pylint | ||
resources | ||
scripts | ||
test_util | ||
testing_config | ||
util | ||
__init__.py | ||
bandit.yaml | ||
common.py | ||
conftest.py | ||
ignore_uncaught_exceptions.py | ||
ruff.toml | ||
syrupy.py | ||
test_bootstrap.py | ||
test_config.py | ||
test_config_entries.py | ||
test_core.py | ||
test_data_entry_flow.py | ||
test_exceptions.py | ||
test_loader.py | ||
test_main.py | ||
test_requirements.py | ||
test_runner.py | ||
test_setup.py | ||
test_test_fixtures.py | ||
typing.py |