Commit graph

35660 commits

Author SHA1 Message Date
Tobias Sauerwein
12342437e2
Fix battery attribute () 2021-05-10 20:40:44 +02:00
Khole
84984b0223
Bump Pyhiveapi () 2021-05-10 20:38:35 +02:00
kennedyshead
baacf1b787
Bumps aioasuswrt to 1.3.4 () 2021-05-10 20:35:32 +02:00
Julien "_FrnchFrgg_" Rivaud
24a46d91d3
Fix amcrest detection of sensor reset ()
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-05-10 10:49:08 -07:00
Colin Robbins
a404c138fa
Support multiple disks in systemmonitor ()
* Fix  - add support for multiple disks

* Rework as a tuple
2021-05-10 10:48:00 -07:00
jan iversen
70b09ed9a1
Handle relation between scan_interval and pymodbus timeout in modbus ()
* Control scan_interval compared to pymodbus timeout.

add MINIMUM_SCAN_INTERVAL=5 seconds and validata with Voluptous.
Keep modbus.py 100% coverage.

* Please pylint.

* Review comments.

* pylint.
2021-05-10 19:28:38 +02:00
jjlawren
9ae021a284
Bump pysonos to 0.0.45 () 2021-05-10 08:56:18 -07:00
Paulus Schoutsen
f8584c3ded
Use zoneinfo instead of dateutil ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-10 08:32:29 -07:00
Ville Skyttä
3fab21ebc7
Skip Huawei LTE device registry setup with no identifiers or connections ()
Closes https://github.com/home-assistant/core/issues/50182
2021-05-10 08:27:09 -07:00
Christer Vestermark
fca56993c6
Add smhi wind gust speed and thunder probability ()
* Added some extra attributes

Added the extra attributes
wind_gust_speed and
thunder_probability
that were already implemented in the underlaying library (joysoftware
/
pypi_smhi).

Also for the existing extra attribute cloudiness, it is added if "is not None" instead of just "if self.cloudiness" which would make it False (and therefore not available) if cloudiness = 0.

* Trying to solve the style issues

Removed white spaces and changed order of list as suggested by the tests.

* New try to solve the style issues

Removed some more white spaces...

* Changed dictionary handling as suggested

Changed dictionary handling as suggested by MartinHjelmare.

* Updated test

Updated test_weather.py to include the new attributes wind_gust_speed and thunder_probability.

* Added missing imports

Added the missing imports
ATTR_SMHI_THUNDER_PROBABILITY,
ATTR_SMHI_WIND_GUST_SPEED,

* Renaming self.thunder to self.thunder_probability and correcting test valuesfor

Renamed the new internal attribute
thunder to thunder_probability, same as the exposed attribute for improved consistency.
Corrected test values according to smhi.json.

* Forgot to change to self.thunder_probability in one place.

sorry.
2021-05-10 16:44:08 +02:00
Ruslan Sayfutdinov
8e2b3aab44
Enable strict type checks for camera platform () 2021-05-10 15:12:15 +02:00
jjlawren
0cdb8ad892
Fix location of current_play_mode () 2021-05-10 14:49:11 +02:00
Ruslan Sayfutdinov
3a192896df
Enable some strict mypy checks globally ()
* Enable some strict mypy checks globally

* Update mypy.ini
2021-05-10 14:20:25 +02:00
Ruslan Sayfutdinov
b745d01877
Fix synology_dsm typing () 2021-05-10 13:43:43 +02:00
Ville Skyttä
b89c53f759
Type hint device registry identifiers as set of str 2-tuples ()
* Type hint device registry identifiers as set of str 2-tuples

* Fix airly test

* Really fix airly test, add another migration test
2021-05-10 12:13:45 +02:00
Franck Nijhof
1c98df5d18
Remove YAML configuration from Somfy MyLink ()
* Remove YAML configuration from Somfy MyLink

* Keep deprecation warning
2021-05-10 11:53:37 +02:00
J. Nick Koston
f581616064
Loosen flume dhcp discovery matching () 2021-05-09 19:32:00 -05:00
HomeAssistant Azure
dfe8ab6666 [ci skip] Translation update 2021-05-10 00:04:47 +00:00
Jeff Irion
65fb852e03
Bump androidtv to 0.0.59 () 2021-05-09 18:52:24 -05:00
Steven Looman
e284a14ccd
Upgrade async_upnp_client to 0.17.0 () 2021-05-09 17:06:47 -05:00
Alan Tse
c1a316b2ec
Increase httpx timeout for Tesla () 2021-05-09 16:30:38 -05:00
Franck Nijhof
041838bdd7
Upgrade requests-mock to 1.9.2 () 2021-05-09 16:30:03 -05:00
Michael
042822e35e
Improve typing for synology_dsm () 2021-05-09 22:44:55 +02:00
Franck Nijhof
717f4e69d5
Remove defunct Spot Crime integration () 2021-05-09 22:23:52 +02:00
Franck Nijhof
3745056751
Upgrade attrs to 21.2.0 () 2021-05-09 22:13:09 +02:00
Erik Montnemery
e57634b1e0
Bump hatasmota to 0.2.12 () 2021-05-09 22:57:27 +03:00
tkdrob
ee58f6105e
Add selectors to webostv services () 2021-05-09 21:45:24 +02:00
Raman Gupta
1b81849271
Add zwave_js support for HeatIt Z-TRM2fx ()
* Add zwave_js support for HeatIt Z-TRM2fx

* fix docstring

* use AwesomeVersion to support firmware version ranges

* add guard against empty firmware range

* switch guard approach to raise exception sooner

* make post init more generic

* Set up firmware range schema as AwesomeVersion during initialization

* Update homeassistant/components/zwave_js/discovery.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Allow min_ver and max_ver to be None

* fix docstring

* reduce import scope

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-09 15:28:35 -04:00
Franck Nijhof
ba31d7d1b4
Upgrade sentry-sdk to 1.1.0 () 2021-05-09 14:30:34 -04:00
Franck Nijhof
0eeb147eda
Upgrade watchdog to 1.1.0 () 2021-05-09 14:29:27 -04:00
Franck Nijhof
43adba4aff
Deprecate Synology DSM YAML configuration () 2021-05-09 14:28:24 -04:00
Franck Nijhof
3f463f22a1
Deprecate Luftdaten YAML configuration () 2021-05-09 14:27:56 -04:00
Franck Nijhof
b2cee2e602
Remove YAML configuration from Tuya ()
* Remove YAML configuration from Tuya

* Keep deprecation warning
2021-05-09 14:26:26 -04:00
jan iversen
ec08256ff0
Do not use async_* in a modbus sync function () 2021-05-09 19:50:23 +02:00
Shay Levy
be73067f9c
Fix Shelly type hints () 2021-05-09 19:46:53 +02:00
Dermot Duffy
4e4042a869
Fix types for WLED () 2021-05-09 19:34:21 +02:00
Franck Nijhof
2ca0eb61dc
Deprecate Pi-hole YAML configuration () 2021-05-09 19:23:55 +02:00
Franck Nijhof
0a95aa282c
Upgrade debugpy to 1.3.0 () 2021-05-09 11:29:28 -05:00
Ruslan Sayfutdinov
9b058551f7
Enable type checks for camera platform () 2021-05-09 18:04:57 +02:00
EddyK69
e9709d4449
Add LastTrip sensors for BMW Connected Drive () 2021-05-09 17:51:58 +02:00
Franck Nijhof
ce02614780
Deprecate Hive YAML configuration () 2021-05-09 17:43:56 +02:00
J. Nick Koston
a74aa9272c
Add dhcp discovery to tplink () 2021-05-09 10:03:41 -05:00
gabrialdestruir
f814a7a8ae
Add tplink light setting ignore default ()
This fixes issue  by allowing color, brightness, and temperature to be set from an off state. This adds code to allow "ignore_default=1" to be sent to bulb letting it know to power on with the parameters set.
2021-05-09 16:27:49 +02:00
Franck Nijhof
cbf4632895
Remove YAML configuration from SolarEdge ()
* Remove YAML configuration from SolarEdge

* Restore already setup tests
2021-05-09 12:03:41 +02:00
J. Nick Koston
2bff7f8020
Remove YAML support from gogogate2/ismartgate () 2021-05-09 11:46:07 +02:00
J. Nick Koston
29cd5f20b9
Add zeroconf discovery to powerview () 2021-05-09 11:41:27 +02:00
J. Nick Koston
9cab8a19cd
Add iCloud discovery ()
Since homekit requires iCloud keychains to be enabled, if they
have a homekit hub, they must have iCloud.
2021-05-09 11:19:26 +02:00
jjlawren
85d782808c
Fix Sonos polling bug () 2021-05-09 11:09:56 +02:00
hubbergit
4d9d565ecc
Fix unit of measurement from Pa to hPa ()
The unit of measurement should be hPa instead of Pa for the air pressure.
2021-05-09 10:07:51 +02:00
Brian Rogers
07a93be176
Revert Rachio to seconds instead of total_seconds ()
* revert seconds

* Add comment

* Update comment to include max runtime
2021-05-09 05:09:31 +02:00