Marc Mueller
8e2b5b36b5
Bump pyupgrade to 2.12.0 ( #48943 )
2021-04-09 09:58:27 -07:00
Paulus Schoutsen
00bd591238
Verify get_zones webhook works ( #47741 )
2021-03-11 01:08:12 +01:00
Erik Montnemery
84226da404
Update tests i-o to use async_get() instead of async_get_registry() ( #47653 )
2021-03-09 14:32:08 +01:00
Erik Montnemery
26e7916367
Migrate mobile_app to RestoreEntity ( #46391 )
2021-02-11 20:18:03 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
7d23ff6511
Add device action to mobile app to notify ( #43814 )
2020-12-01 18:14:01 +01:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) ( #41982 )
2020-10-16 21:24:08 -05:00
Paulus Schoutsen
57996e1942
Improve mobile app template handling ( #41703 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-12 17:26:54 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Ville Skyttä
6ae9399237
Upgrade isort to 5.4.2 ( #37939 )
2020-08-29 08:23:55 +02:00
Daniel Shokouhi
d587f134ca
Reload mobile app notify service upon device name change, add device name to all webhook logs ( #39364 )
...
* Add device name to all webhook logs to help with multiple devices
* Reload notifications when we update the registration, update from rebase
* Make hassfest happy
* Adjust caplog test to accomodate log message change
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-28 15:13:43 -05:00
J. Nick Koston
92c06f0818
Ensure mobile_app notifications get re-registered after adding,removing,adding ( #39362 )
2020-08-28 14:08:09 -05:00
J. Nick Koston
85869be2d8
Unregister mobile_app notification services when a device is removed ( #39359 )
2020-08-28 12:37:19 -05:00
J. Nick Koston
3377f6b12a
Register mobile_app notification services when a new device is added ( #39356 )
...
* Register mobile_app notification services when a new device is added
* targets and base service use their own patterns to generate the name
2020-08-28 12:18:02 -05:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Paulus Schoutsen
52729e9dc8
Add scan_tag webhook to mobile app ( #38721 )
2020-08-10 17:54:46 +02:00
Paulus Schoutsen
8ed1a29c82
Drop white blacklist pt1 ( #37816 )
2020-07-13 17:43:11 +02:00
Zac West
8541ae0360
mobile_app: Camera Stream Webhook ( #36839 )
2020-06-15 19:09:53 -07:00
Franck Nijhof
2abd3844cf
Fix mobile_app missing state in sensor registration ( #36604 )
2020-06-09 11:06:52 -07:00
Franck Nijhof
85ba29012f
Fix mobile_app sensor re-registration handling ( #36567 )
2020-06-08 21:11:37 +02:00
Franck Nijhof
b3cbce3566
Fix mobile_app registering/update sensor values with an unknown state ( #36566 )
2020-06-08 10:07:05 -07:00
Paulus Schoutsen
68b077ffaa
Add partial mobile app sensor validation ( #36433 )
2020-06-04 10:13:01 +02:00
Paulus Schoutsen
276f3afb00
Do async_setup_platform in background ( #36244 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-31 22:18:30 -07:00
Franck Nijhof
d7e9959442
String formatting improvements for tests (2) ( #33666 )
2020-04-05 00:33:07 +02:00
Franck Nijhof
906385172a
String formatting improvements for tests ( #33663 )
2020-04-05 00:26:08 +02:00
Paulus Schoutsen
5c1dc60505
Fix mobile app test
2020-03-18 22:13:37 -07:00
Paulus Schoutsen
abd1909e2b
Make zone dependency of device tracker an after dep ( #32880 )
...
* Make zone dependency of device tracker an after dep
* Fix test
2020-03-17 06:59:39 -04:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Daniel Shokouhi
43256ebd83
Add device name to sensor name for mobile_app ( #31756 )
...
* Add device name to sensor name
* Update test to include device name
2020-02-12 11:40:39 -08:00
Robbie Trencheny
0700d38d1f
Add new webhook action to allow enabling encryption in an exis… ( #31743 )
...
* Add new webhook action to allow enabling encryption in an existing registration
* Harden tests
* Make requested fixes
2020-02-11 23:56:22 -08:00
Paulus Schoutsen
e5365779fe
Allow unloading mobile app ( #30995 )
2020-01-22 09:57:47 -08:00
Paulus Schoutsen
95cd0a2c68
Mobile App add device tracker to person registering app ( #30460 )
2020-01-04 23:15:50 +01:00
Paulus Schoutsen
2f362b44c4
Allow adding unique device ID to mobile app registration ( #30457 )
...
* Allow adding unique device ID to mobile app registration
* Remove unknown data
* Better fix
2020-01-04 13:45:03 +01:00
Bas Nijholt
abfcc18004
Sort imports according to PEP8 for mobile_app ( #29758 )
2019-12-09 13:22:42 +01:00
Paulus Schoutsen
f6780c1fa2
Allow negative altitude in location updates ( #29381 )
2019-12-03 22:39:12 -08:00
Paulus Schoutsen
4cfd24a03a
Fix mobile app device identifiers ( #29173 )
2019-11-27 20:27:22 -08:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
6795db9bd6
Mobile app device tracker to restore state ( #24266 )
2019-06-03 10:30:56 +02:00
Paulus Schoutsen
b4374c8c4c
Mobile app to use device tracker config entry ( #24238 )
...
* Mobile app to use device tracker config entry
* Lint
* Re-use device_info
* Lint
2019-05-31 23:01:45 -07:00
Penny Wood
e850ccb82c
Fixed test ( #23343 )
2019-04-24 09:55:37 -07:00
Robbie Trencheny
7303d56a55
Mobile App: Remove component loading support ( #23025 )
...
Loading a component defined in a registration didn't actually work and was undocumented, so let's just remove it instead of fixing #23005 .
## Checklist:
- [X] The code change is tested and works locally.
- [X] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [X] There is no commented out code in this PR.
2019-04-11 19:06:36 -07:00
Paulus Schoutsen
cac00f5b26
Test for circular dependencies using manifests ( #22908 )
...
* Integration dependencies
* Lint
* Lint
* Fix one test
* Lint
* Fix load custom component integration
Fix async issue
Add circular dependency detection in manifest validation
* Fix test
* Address review comment
* Apply suggestions from code review
Co-Authored-By: balloob <paulus@home-assistant.io>
2019-04-09 09:30:32 -07:00
Robbie Trencheny
137d80452d
Minor sensor fixes ( #22884 )
...
* Minor sensor fixes
* Fix tests
2019-04-08 01:13:26 -07:00
Robbie Trencheny
3ce6be6297
Add a new mobile_app webhook command to get config ( #22813 )
...
* Add a new mobile_app webhook command to get config
* Limit fields returned
2019-04-07 01:16:54 -07:00
Robbie Trencheny
b797b1513a
Add mobile_app notify platform ( #22580 )
...
* Add mobile_app notify platform
* Requested changes
* Fix incorrect param for status code
* Move push_registrations to notify platform file
* Trim down registration information sent in push
* quotes
* Use async version of load_platform
* Add warning for duplicate device names
* Switch to async_get_service
* add mobile_app.notify test
* Update tests/components/mobile_app/test_notify.py
* Update tests/components/mobile_app/test_notify.py
2019-04-03 08:21:25 -04:00
Robbie Trencheny
7bd8c0d39a
Add new mobile_app webhook command: get_zones ( #22604 )
...
## Description:
Adds a new `mobile_app` webhook command, `get_zones`, which just returns all zones.
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
2019-03-31 21:30:45 -07:00
Paulus Schoutsen
e581d9e249
Fix more test
2019-03-15 09:14:20 -07:00
Paulus Schoutsen
3ce50b0a6a
Fix test
2019-03-15 07:47:13 -07:00
Robbie Trencheny
dcaced1966
Mobile App: Sensors ( #21854 )
...
## Description:
**Related issue (if applicable):** fixes #21782
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
2019-03-14 17:24:53 -07:00