1
mirror of https://github.com/home-assistant/core synced 2024-08-31 05:57:13 +02:00
Commit Graph

151 Commits

Author SHA1 Message Date
J. Nick Koston
3f3f77c6e6
Reduce config entry setup/unload boilerplate N-P (#49777) 2021-04-27 20:42:21 +02:00
Xuefer
7579a321df
Encode ONVIF username password in URL (#49512)
* onvif: encode username password in url

Signed-off-by: Xuefer <xuefer@gmail.com>

* onvif: use yarl to set username password for steam url

Signed-off-by: Xuefer <xuefer@gmail.com>
2021-04-23 10:43:02 +02:00
J. Nick Koston
f600649016
Fix memory leak in onvif (#49473) 2021-04-20 09:15:17 -07:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
HomeAssistant Azure
93c68f8be6 [ci skip] Translation update 2021-04-13 00:04:04 +00:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
HomeAssistant Azure
99874cd993 [ci skip] Translation update 2021-03-27 00:03:21 +00:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible (#48189) 2021-03-23 14:36:43 +01:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity (#48214) 2021-03-22 19:46:46 +01:00
MatsNl
53a9c117ee
Add jobstate parser to Onvif integration (#46589) 2021-03-22 14:43:46 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period (#48064)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Marc Mueller
3d2b81a401
Update typing 11 (#48072) 2021-03-18 13:21:46 +01:00
HomeAssistant Azure
4306c8fbb4 [ci skip] Translation update 2021-03-17 00:03:55 +00:00
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Quentame
198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
HomeAssistant Azure
0cb1f61deb [ci skip] Translation update 2021-02-21 00:07:04 +00:00
olijouve
8256acb8ef
Fix onvif ConnectionResetError (#45899)
Fix "ConnectionResetError: Cannot write to closing transport" error we can have on lots of chinese cams(like Goke GK7102 based IP cameras)
Those non full onvif compliant cams can "crash" when calling non implemented functions like events or ptz and they are likely react by closing transport, leaving the request in a uncatched error state.

My camera used to fail on setup, and now it run nicely with that simple fix.
2021-02-04 09:25:35 +01:00
Paulus Schoutsen
959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
Paulus Schoutsen
e584902b8b
Remove empty schema (#45044) 2021-01-11 14:25:09 +01:00
HomeAssistant Azure
9c63fbfcb1 [ci skip] Translation update 2020-12-07 00:04:18 +00:00
HomeAssistant Azure
42f00cff30 [ci skip] Translation update 2020-12-04 00:05:42 +00:00
Paulus Schoutsen
0cf3736162
Bump ha-ffmpeg to 3.0.2 (#43597) 2020-11-25 08:45:15 +01:00
Ville Skyttä
cab186d28f
Add ONVIF PTZ Stop support (#39734) 2020-11-20 22:59:11 +01:00
HomeAssistant Azure
9a21421807 [ci skip] Translation update 2020-11-15 00:03:48 +00:00
Paulus Schoutsen
54f3d9078a Update translations 2020-11-11 12:10:09 +01:00
HomeAssistant Azure
4b9ba79584 [ci skip] Translation update 2020-11-11 00:10:27 +00:00
HomeAssistant Azure
57c6bb96f4 [ci skip] Translation update 2020-11-07 00:04:02 +00:00
HomeAssistant Azure
9298fec345 [ci skip] Translation update 2020-11-05 00:10:11 +00:00
HomeAssistant Azure
b71e28dfac [ci skip] Translation update 2020-11-04 00:13:14 +00:00
Jason Hunter
f1bb7b4a0f
attempt to renew subscription immediately to stop endless loop if it fails after setup (#42651) 2020-10-31 09:15:11 -04:00
HomeAssistant Azure
b9d04b9304 [ci skip] Translation update 2020-10-30 00:02:45 +00:00
HomeAssistant Azure
026e0063fe [ci skip] Translation update 2020-10-29 00:09:16 +00:00
springstan
a967f689c7
Remove unnecessary instances of dict.keys() (#42518) 2020-10-28 20:43:48 +01:00
HomeAssistant Azure
f4cebfbb7e [ci skip] Translation update 2020-10-27 00:06:28 +00:00
HomeAssistant Azure
c2a9f2ae52 [ci skip] Translation update 2020-10-26 00:03:36 +00:00
Brett T. Warden
ab5e34a49f
Fix error strings for PTZ operations (#42231)
PTZ error strings for unsupported move operations were copied/pasted
from ContinuousMove. Fix the strings for AbsoluteMove and RelativeMove.
2020-10-25 14:52:32 +01:00
HomeAssistant Azure
ed232ac733 [ci skip] Translation update 2020-10-24 00:05:17 +00:00
HomeAssistant Azure
b102ad731f [ci skip] Translation update 2020-10-22 00:09:52 +00:00
HomeAssistant Azure
81296b2b70 [ci skip] Translation update 2020-10-20 00:08:00 +00:00
Rihan9
d01a96d1ce
Fix onvif sensor detection and onvif stop service call (#41949)
* Fix stop service call after movement, add new parser for topic: tns1:RuleEngine/MotionRegionDetector/Motion

* Fix PullMessages call and formatting Stop call

* Fix timeout on pullmessages call

* Fix black and flake8 detected issues

* add SetSynchronizationPoint with try/except block
2020-10-19 13:01:34 -04:00
Jason Hunter
5a397312e7
Update ONVIF to Zeep 4.0/httpx (#42020)
* convert to httpx and zeep 4.0

* fix tests

* add onvif-zeep-async to manifest

* pin zeep to fool CI cache

* address review comments
2020-10-18 23:29:53 -04:00
Jason Hunter
32675e0e38
Bump ONVIF and pin Zeep (#41907) 2020-10-15 22:24:33 +02:00
HomeAssistant Azure
994ae09f69 [ci skip] Translation update 2020-10-15 00:03:50 +00:00
HomeAssistant Azure
1417a4161f [ci skip] Translation update 2020-10-13 00:03:24 +00:00
HomeAssistant Azure
f787289ea0 [ci skip] Translation update 2020-10-12 00:03:31 +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