Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Paulus Schoutsen
d6cd5648b9
Change conversation default agent behavior ( #95225 )
...
* Change conversation default agent behavior
* Fix tests
2023-06-26 22:10:17 -04:00
Allen Porter
12129e9d21
Update service call return values and error handling ( #94657 )
...
* Update return signature of service calls
* Add timeout error handling in websocket api for service calls
* Update recorder tests to remove assertion on service call
* Remove timeout behavior and update callers that depend on it today
* Fix tests
* Add missing else
* await coro directly
* Fix more tests
* Update the intent task to use wait instead of timeout
* Remove script service call limits and limit constants
* Update tests that depend on service call limits
* Use wait instead of wait_for and add test
* Update homeassistant/helpers/intent.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-16 07:01:40 -07:00
Erik Montnemery
ebd9cd096a
Keep expose setting in sync for assist ( #92158 )
...
* Keep expose setting in sync for assist
* Fix initialization, add test
* Fix tests
* Add AgentManager.async_setup
* Fix typo
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-28 15:59:21 +02:00
Paulus Schoutsen
bc2b35765e
Stop processing when we hit bad encryption in mobile app ( #88150 )
...
* Stop processing when we hit bad encryption
* Accept webhook payload that is a list
* Rename functions because we import them
* Revert a debug thing
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-16 13:05:16 -05:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
b21bf8763e
Fix mobile app regression accepting sensor states ( #88164 )
...
* Fix mobile app regression accepting sensor states
* Adjust tests
2023-02-15 07:17:19 -05:00
epenet
6c430e03bc
Add type hints to integration tests (part 14) ( #88005 )
2023-02-15 10:31:43 +01:00
epenet
f75ac17554
Add type hints to integration tests (j-m) ( #87704 )
2023-02-08 19:06:59 +01:00
Paulus Schoutsen
e0f8b5bbd1
Fix some mobile app sensor registration/update issues ( #86965 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-30 20:08:19 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
Paulus Schoutsen
9631146745
Add conversation mobile app webhook ( #86239 )
...
* Add conversation mobile app webhook
* Re-instate removed unused import which was used as fixture
2023-01-19 13:59:02 -05:00
Michael
104f74054b
Replace the usage of unit constants by enumerations in Tests [m-n] ( #85935 )
...
* replace unit conts by enums m-n
* fix mqtt
2023-01-15 15:45:00 +01:00
Paulus Schoutsen
7dff44b3e9
Fix mobile app passing incorrect device ID when scanning tag ( #82820 )
2022-11-28 08:35:57 -05:00
epenet
e84e5f134e
Use US_CUSTOMARY_SYSTEM in tests ( #80658 )
...
* Use US_CUSTOMARY_SYSTEM in tests
* Don't update test_unit_system
2022-10-20 15:42:23 +02:00
epenet
0ac581a0b1
Cleanup EntityFeature in tests ( #78859 )
2022-09-21 10:48:55 +02:00
Franck Nijhof
5f0cca9b26
Raise repairs issue if automation calls unknown service ( #76949 )
2022-08-25 20:56:26 -04:00
Erik Montnemery
0ed265e2be
Correct restoring of mobile_app sensors ( #76886 )
2022-08-17 10:53:05 +02:00
Erik Montnemery
32b1259786
Support multiple trigger instances for a single webhook ( #76037 )
2022-08-02 08:54:28 +02:00
Paulus Schoutsen
0b09376360
Mobile app to notify when sensor is disabled ( #71561 )
...
* Mobile app to notify when sensor is disabled
* Add entity status to get_config
* Allow overriding enabled/disabled
2022-05-17 09:05:49 -07:00
J. Nick Koston
e0bf1fba8d
Add logbook descriptions for mobile app zone enter and exit ( #71749 )
2022-05-14 23:05:56 -07:00
Paulus Schoutsen
539ce7ff0e
Allow mobile app to disable entities by default ( #71562 )
2022-05-09 08:05:31 -05:00
Paulus Schoutsen
4a53121b58
Test that mobile app requires empty object for encrypted webhooks without data ( #70718 )
2022-04-26 19:30:08 +02:00
Erik Montnemery
64381acbaf
Mark device actions from hidden or auxiliary entities as secondary ( #70278 )
2022-04-20 10:48:46 -07:00
Erik Montnemery
5b8cf379a3
Improve mobile_app key handling ( #67429 )
2022-03-02 07:49:48 -08:00
Zac West
2df8ab865f
Allow name-only location updates for mobile_app device_tracker ( #62243 )
2022-01-13 09:30:36 -08:00
Paulus Schoutsen
ad8af5fc7a
Allow mobile app registrations only supporting websocket push ( #63208 )
2022-01-03 11:02:41 -08:00
Franck Nijhof
60b2cdd069
Allow binary sensor state to be None ( #60193 )
2021-12-22 12:24:29 +01:00
Dave T
d82e8b6cc0
Use new enums in mobile_app tests ( #62517 )
2021-12-21 22:30:18 +01:00
Ville Skyttä
f913961d63
Use DeviceAutomationType in tests/components/[m-r]* ( #62443 )
2021-12-20 22:29:22 +01:00
Ville Skyttä
334c6c5c02
Make device automation type an enum ( #62354 )
2021-12-20 19:16:30 +01:00
Franck Nijhof
a4ffa63165
Handle unknown/unavailable state for mobile_app ( #60974 )
2021-12-05 09:51:57 -08:00
Franck Nijhof
69b7495324
Sensor: Handle local->UTC conversion and reject timezoneless timestamps ( #59971 )
2021-11-22 17:04:06 +01:00
Franck Nijhof
073bf6d6fd
Use native datetime value inMobile App sensors ( #59945 )
2021-11-18 22:36:28 -08:00
Paulus Schoutsen
a122cbab61
Mobile app to update entity registry on re-register sensors ( #58378 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-31 20:21:46 -07:00
Ville Skyttä
77120a5137
Use http.HTTPStatus in components/m* ( #58251 )
2021-10-22 23:54:36 +02:00
Paulus Schoutsen
ab0247d112
Add entity category and state class to mobile app ( #58012 )
2021-10-19 12:29:22 -07:00
Zac West
1904019b5f
Include webhook_id in mobile_app's notify registration_info ( #58007 )
2021-10-18 19:29:13 -07:00
Paulus Schoutsen
677abcd484
Allow confirming local push notifications ( #54947 )
...
* Allow confirming local push notifications
* Fix from Zac
* Add tests
2021-09-22 23:17:04 +02:00
Paulus Schoutsen
af8ef634c1
Fix double subscriptions for local push notifications ( #52039 )
2021-06-20 14:53:21 -07:00
Joakim Sørensen
3e7729faf2
Handle blank string in location name for mobile app ( #51130 )
2021-05-27 06:04:05 +02:00
Paulus Schoutsen
1e10772497
Add support for local push channels to mobile_app ( #50750 )
2021-05-17 11:06:42 -07:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
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