d3bf52c136
* 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> |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
conftest.py | ||
test_binary_sensor.py | ||
test_button.py | ||
test_config_flow.py | ||
test_diagnostics.py | ||
test_init.py | ||
test_media_player.py | ||
test_number.py | ||
test_sensor.py | ||
test_services.py | ||
test_switch.py |