Files
core/tests/components
3f936993a9 Register Fully Kiosk services regardless of setup result (#88647)
* 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>
2023-06-23 16:35:19 +02:00
..
2023-03-28 14:59:03 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-05-04 11:25:35 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-30 20:34:57 +02:00
2023-05-29 23:24:15 +02:00
2023-05-29 23:24:15 +02:00
2023-03-10 12:06:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-25 15:40:46 +02:00
2023-03-02 12:33:04 +01:00
2023-05-04 11:25:35 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 16:46:03 -05:00
2023-02-15 14:09:50 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-09 13:41:50 +01:00
2023-03-07 11:35:48 +01:00
2023-05-04 11:25:35 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-06 13:48:19 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 10:18:58 +01:00
2023-03-22 20:00:47 -04:00
2023-03-28 08:46:16 +02:00
2023-05-26 15:20:46 +02:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-23 14:09:36 -05:00
2023-02-15 14:09:50 +01:00
2023-04-29 11:18:16 +02:00
2023-06-08 13:27:36 -04:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-05-16 08:26:17 +02:00
2023-02-22 13:55:44 +01:00
2023-02-15 14:09:50 +01:00
2023-05-04 11:25:35 +02:00
2023-03-22 20:00:47 -04:00
2023-03-28 11:54:16 +02:00
2023-02-15 14:09:50 +01:00
2023-05-26 15:35:06 +02:00
2023-04-12 23:47:37 +02:00
2023-04-12 08:19:01 +02:00
2023-03-04 22:26:16 +01:00
2023-02-17 21:08:18 -05:00
2023-04-30 22:33:51 +02:00
2023-05-31 12:00:45 +02:00
2023-03-22 20:00:47 -04:00
2023-05-21 21:13:59 +02:00
2023-02-15 14:09:50 +01:00
2023-05-04 11:25:35 +02:00
2023-04-20 08:42:22 -10:00
2023-03-26 20:03:03 +02:00
2023-03-22 12:01:04 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00