Milan Meulemans
29d72714f3
Replace dict with DeviceInfo ( #49950 )
...
* Replace dict with DeviceInfo
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-02 00:37:19 +02:00
Franck Nijhof
64c7d84108
Clean up connection classes in integrations T-Z ( #49894 )
2021-04-30 21:04:05 -10:00
Ruslan Sayfutdinov
cbaeec2a4e
Use AddEntitiesCallback type, pt.2 ( #49921 )
2021-04-30 20:38:59 +02:00
J. Nick Koston
4b74c57285
Reduce config entry setup/unload boilerplate T-U ( #49786 )
2021-04-27 22:19:57 +02:00
J. Nick Koston
9689e06d3c
Bump async-upnp-client to 0.16.2 ( #49671 )
2021-04-25 10:32:39 -10:00
Ville Skyttä
631ab367e2
Fix typing.Any spelling ( #49673 )
2021-04-25 09:36:21 -10:00
J. Nick Koston
c753606a74
Bump async-upnp-client to 0.16.1 ( #49577 )
2021-04-23 07:39:49 +02:00
jan iversen
6992e24263
Rename HomeAssistantType —> HomeAssistant, integrations t* - v* ( #49544 )
...
* Integration vizio: HomeAssistantType -> HomeAssistant.
* Integration velbus: HomeAssistantType -> HomeAssistant.
* Integration vacuum: HomeAssistantType -> HomeAssistant.
* Integration upnp: HomeAssistantType -> HomeAssistant.
* Integration upcloud: HomeAssistantType -> HomeAssistant.
* Integration twinkly: HomeAssistantType -> HomeAssistant.
* Integration tts: HomeAssistantType -> HomeAssistant.
* Integration tradfri: HomeAssistantType -> HomeAssistant.
* Integration traccar: HomeAssistantType -> HomeAssistant.
* Integration tplink: HomeAssistantType -> HomeAssistant.
2021-04-22 10:53:57 -04:00
Paulus Schoutsen
a90d3a051f
prefer total_seconds over seconds ( #49505 )
2021-04-20 17:41:36 -07:00
Marc Mueller
c07646db5d
Update typing syntax ( #49480 )
...
* Update typing syntax
* Replace typing imports with ones from collections where possible
* Changes after review
2021-04-20 17:40:41 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Steven Looman
555f508b8c
Reinitialize upnp device on config change ( #49081 )
...
* Store coordinator at Device
* Use DeviceUpdater to follow config/location changes
* Cleaning up
* Fix unit tests + review changes
* Don't test internals
2021-04-14 23:39:44 +02:00
HomeAssistant Azure
93c68f8be6
[ci skip] Translation update
2021-04-13 00:04:04 +00:00
Steven Looman
7a6c88feeb
Bump async_upnp_client to 0.16.0 ( #48521 )
2021-03-30 15:36:18 -10:00
HomeAssistant Azure
99874cd993
[ci skip] Translation update
2021-03-27 00:03:21 +00:00
Erik Montnemery
783b453bbe
Migrate integrations t-v to extend SensorEntity ( #48216 )
2021-03-22 19:47:44 +01:00
Marc Mueller
b67b9b94f9
Update typing 13 ( #48077 )
2021-03-18 14:43:52 +01:00
HomeAssistant Azure
f625e324dd
[ci skip] Translation update
2021-03-18 00:07:07 +00:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Steven Looman
3e26e2adad
Handle device IP change in upnp ( #46859 )
2021-02-23 21:00:47 -06:00
Steven Looman
efa339ca54
Allow upnp ignore SSDP-discoveries ( #46592 )
2021-02-20 16:26:17 -10:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
Franck Nijhof
bc1daf1802
None optional hass typing in FlowHandler ( #46462 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Steven Looman
25c5c6aec9
Refactoring upnp component ( #43646 )
2021-01-29 10:23:34 +01:00
Steven Looman
05f9fb80c8
Fix upnp first discovered device is used ( #44151 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-12 19:47:46 +01:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
HomeAssistant Azure
43955d3aa8
[ci skip] Translation update
2020-11-21 00:08:32 +00:00
Paulus Schoutsen
54f3d9078a
Update translations
2020-11-11 12:10:09 +01:00
springstan
46412ef0c6
Remove empty dependencies from manifest ( #42973 )
2020-11-08 21:29:28 +01:00
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
springstan
92379ad8d2
Use list literal without using dict.keys() ( #42573 )
2020-10-30 09:19:13 -05:00
HomeAssistant Azure
81296b2b70
[ci skip] Translation update
2020-10-20 00:08:00 +00:00
HomeAssistant Azure
1a03bbda5a
[ci skip] Translation update
2020-10-18 00:03:28 +00:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
SNoof85
f256d0a4ea
Use reference strings in upnp ( #41327 )
...
* Update strings.json
* Update strings.json
* Update config_flow.py
* replace service by device
Co-authored-by: scheric <38077357+scheric@users.noreply.github.com>
Co-authored-by: scheric <38077357+scheric@users.noreply.github.com>
2020-10-06 19:54:20 +02:00
Steven Looman
c812812631
Don't set upnp config_entry.unique_id from setup entry ( #40988 )
...
* Don't set config_entry.unique_id from setup entry. Fixes #40168
* Ensure entry has a unique_id
* Add test test_flow_import_incomplete
* Add test test_flow_import_duplicate
* Re-add testing import_info
* Simplify import flow
* Remove not needed line
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-06 13:57:36 +02:00
Steven Looman
c3b6675617
Increase upnp timeout from 5 seconds to 10 seconds ( #40540 )
2020-09-24 11:27:55 -05:00
HomeAssistant Azure
587e3f1eb2
[ci skip] Translation update
2020-09-21 00:02:47 +00:00
J. Nick Koston
225743a620
Update upnp to use CoordinatorEntity ( #39434 )
2020-08-30 18:17:41 +02:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Paulus Schoutsen
03676693ce
Catch upnp timeout error ( #38794 )
2020-08-13 12:11:58 +02:00