Mobile App: Register devices into the registry (#21856)
* Register devices into the registry * Switch to device ID instead of webhook ID * Rearchitect mobile_app to support config entries * Kill DATA_REGISTRATIONS by migrating registrations into config entries * Fix tests * Improve how we get the config_entry_id * Remove single_instance_allowed * Simplify setup_registration * Move webhook registering functions into __init__.py since they are only ever used once * Kill get_registration websocket command * Support description_placeholders in async_abort * Add link to mobile_app implementing apps in abort dialog * Store config entry and device registry entry in hass.data instead of looking it up * Add testing to ensure that the config entry is created at registration * Fix busted async_abort test * Remove unnecessary check for entry is None
This commit is contained in:
1 parent
62f12d242a
commit
3769f5893a
15 files changed
+254
-212
No files matched your search
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"config": {
|
||||
"title": "Mobile App",
|
||||
"step": {
|
||||
"confirm": {
|
||||
"title": "Mobile App",
|
||||
"description": "Do you want to set up the Mobile App component?"
|
||||
}
|
||||
},
|
||||
"abort": {
|
||||
"install_app": "Open the mobile app to set up the integration with Home Assistant. See [the docs]({apps_url}) for a list of compatible apps."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user