1
0
mirror of https://github.com/home-assistant/core.git synced 2026-03-01 06:16:29 +00:00
Files
core/tests/components
Robbie Trencheny 9ab0753cf7 mobile_app improvements (#21607)
* First webhook commands for getting and deleting single registrations

* Keep a list of deleted webhook IDs so we can 410 if the webhook receives traffic in the future

* Return a empty JSON object instead of None

* Split up mobile_app bits into individual files

* Add typing

* Sort keys

* Remove unused async_setup_entry

* New decorator method of registering webhooks

* Add tests for cloud hook forwarding and improve error handling for cloud hooks

* Initial implementation of platform specific logic

* Add get registrations by user ID websocket call, minor style fixes

* Stop using resp dictionary during registration

* Move mobile_app/ios.py to ios/mobile_app.py

* Log any errors encountered during webhook

* Improve update registration call

* Split up mobile_app tests to match split up component

* Fix tests

* Remove integration_map in favor of component name in registration

* Add a few helper functions for custom logic components to use

* Load the app_component platform at device registration or component setup time

* Remove extraneous function

* Use guard function for checking if component is in device

* Inline websocket schemas

* Rename ATTR_s used in storage to DATA_ prefix

* squash flake8 and pylint issues

* Remove ios.mobile_app platform

* Dont mark websocket_api as a dependency

* Return standard empty_okay_response with 400 if no JSON sent

* Ensure deleted webhook IDs are registered at launch

* Remove the creation of cloudhooks during handle_webhook

* Rename device to registration everywhere applicable

* Dont check if cloud is logged in, just check if cloud is in components

* Dont ever use cloudhook_id

* Remove component loading logic for a later PR

* Cast exception to string

* Remove unused functions
2019-03-08 23:44:56 -08:00
..
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2018-12-02 16:32:53 +01:00
2019-01-16 14:23:46 -08:00
2019-02-14 20:34:43 +01:00
2018-11-24 16:12:29 -05:00
2019-02-07 22:50:59 +01:00
2019-02-05 19:31:15 -08:00
2019-02-14 20:34:43 +01:00
2019-02-07 22:50:59 +01:00
2019-02-12 16:38:19 +01:00
2019-02-24 15:56:19 +01:00
2019-01-11 12:55:23 -08:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-10 12:50:40 +01:00
2019-02-24 10:49:50 -06:00
2019-02-07 22:50:59 +01:00
2018-12-02 16:32:53 +01:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-17 09:55:33 +01:00
2019-02-26 10:18:09 -08:00
2019-02-08 14:18:18 -08:00
2018-11-05 09:23:58 +01:00
2019-02-05 19:31:15 -08:00
2019-02-28 19:32:41 -05:00
2019-02-14 20:34:43 +01:00
2018-12-02 16:32:53 +01:00