Commit Graph
35729 Commits
Author SHA1 Message Date
Simone Chemelli 4e24640ff7 Remove pytest-mock dependency (#50400) 2021-05-11 17:17:00 +03:00
Daniel Hjelseth Høyer ca65cdd450 pyTibber revert (#50462)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-05-11 16:14:32 +02:00
Martin Hjelmare 48b5ef0bac Clean twentemilieu config flow tests (#50460) 2021-05-11 15:53:36 +02:00
Ruslan Sayfutdinov 1538271555 Don't generate mypy.ini if errors are found (#50456) 2021-05-11 14:29:14 +02:00
Joakim Sørensen 236f138ab7 Fix compare syntax (#50451) 2021-05-11 13:23:56 +02:00
PawelandMartin Hjelmare bc9f0caf4a Add configuration.yaml deprecation warning to Epson (#50403)
* add deprecation warning

* Break long string

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-11 12:45:03 +02:00
Joakim Sørensen 50a88eb6c0 Use empty requirements_diff for schedule and workflow_dispatch (#50450) 2021-05-11 12:29:13 +02:00
Joakim Sørensen ef67a2659e Add ignore_diff to workflow_dispatch trigger (#50449) 2021-05-11 12:15:57 +02:00
Joakim Sørensen d6dcf95235 Fix .env_file name (#50447) 2021-05-11 11:54:02 +02:00
Joakim Sørensen 56d1e0a99d Migrate wheels builder to GitHub actions (#50445) 2021-05-11 11:46:51 +02:00
Erik Montnemery 973f59e423 Refactor history component (#50287)
* Refactor history component

* Update tests

* Address review comments

* Correct deprecated functions
2021-05-11 09:21:57 +02:00
J. Nick Koston d5e39e8748 Remove redundant names from config flow titles (#50380) 2021-05-10 22:14:33 -07:00
Ville Skyttä 44a790ab47 Entity.device_info typing fixes (#49974) 2021-05-10 22:11:51 -07:00
J. Nick Koston 34320ef617 Include mac address in rainmachine device info (#50438) 2021-05-10 22:06:49 -07:00
J. Nick Koston d4cdb8e7e8 Include mac address in roomba device info when available (#50437) 2021-05-10 22:06:29 -07:00
J. Nick Koston b36c840909 Add dhcp support to guardian (#50378) 2021-05-10 21:26:15 -05:00
HomeAssistant Azure 887ec2d9b5 [ci skip] Translation update 2021-05-11 00:04:41 +00:00
Ruslan Sayfutdinov ce15f28642 Add missing type hints in http component (#50411) 2021-05-10 14:30:47 -07:00
85f758380a Add Growatt Server Config flow (#41303)
* Growatt Server Config flow

* Use reference strings

Co-authored-by: SNoof85 <snoof85@gmail.com>

* Remove configuration.yaml import logic

* Removed import test

* Re-added PLATFORM_SCHEMA validation

* Import yaml from old yaml configuration

* Apply suggestions from code review

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

* Feedback

* Use Executor for IO only

* Fix imports

* update requirements

* Fix flake8

* Run every section of fetching devices in single executor

* Config flow feedback

* Clean up

* Fix plan step

* Fix config flow test

* Remove duplicate test

* Test import step

* Test already configured entry

* Clean up tests

* Add asserts

* Mock out entry setup

* Add warning if set up via yaml

Co-authored-by: SNoof85 <snoof85@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-10 22:46:50 +02:00
Tobias Sauerwein 12342437e2 Fix battery attribute (#50405) 2021-05-10 20:40:44 +02:00
Khole 84984b0223 Bump Pyhiveapi (#50368) 2021-05-10 20:38:35 +02:00
kennedyshead baacf1b787 Bumps aioasuswrt to 1.3.4 (#50414) 2021-05-10 20:35:32 +02:00
Julien "_FrnchFrgg_" RivaudandPascal Vizeli 24a46d91d3 Fix amcrest detection of sensor reset (#50249)
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 (#50362)
* Fix #50158 - 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 (#50363)
* 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 (#50407) 2021-05-10 08:56:18 -07:00
Paulus SchoutsenandJ. Nick Koston f8584c3ded Use zoneinfo instead of dateutil (#50387)
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 (#50261)
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 (#50328)
* 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 (#50395) 2021-05-10 15:12:15 +02:00
jjlawren 0cdb8ad892 Fix location of current_play_mode (#50386) 2021-05-10 14:49:11 +02:00
Ruslan Sayfutdinov 3a192896df Enable some strict mypy checks globally (#50398)
* Enable some strict mypy checks globally

* Update mypy.ini
2021-05-10 14:20:25 +02:00
Ruslan Sayfutdinov b745d01877 Fix synology_dsm typing (#50399) 2021-05-10 13:43:43 +02:00
Ville Skyttä b89c53f759 Type hint device registry identifiers as set of str 2-tuples (#50355)
* 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 (#50359)
* 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 (#50379) 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 (#50367) 2021-05-09 18:52:24 -05:00
Steven Looman e284a14ccd Upgrade async_upnp_client to 0.17.0 (#50371) 2021-05-09 17:06:47 -05:00
Alan Tse c1a316b2ec Increase httpx timeout for Tesla (#50376) 2021-05-09 16:30:38 -05:00
Franck Nijhof 041838bdd7 Upgrade requests-mock to 1.9.2 (#50377) 2021-05-09 16:30:03 -05:00
Michael 042822e35e Improve typing for synology_dsm (#49656) 2021-05-09 22:44:55 +02:00
Franck Nijhof 717f4e69d5 Remove defunct Spot Crime integration (#50361) 2021-05-09 22:23:52 +02:00
Franck Nijhof 3745056751 Upgrade attrs to 21.2.0 (#50374) 2021-05-09 22:13:09 +02:00
Erik Montnemery e57634b1e0 Bump hatasmota to 0.2.12 (#50372) 2021-05-09 22:57:27 +03:00
tkdrob ee58f6105e Add selectors to webostv services (#50239) 2021-05-09 21:45:24 +02:00
Raman GuptaandMartin Hjelmare 1b81849271 Add zwave_js support for HeatIt Z-TRM2fx (#50317)
* 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 (#50349) 2021-05-09 14:30:34 -04:00
Franck Nijhof 0eeb147eda Upgrade watchdog to 1.1.0 (#50351) 2021-05-09 14:29:27 -04:00
Franck Nijhof 43adba4aff Deprecate Synology DSM YAML configuration (#50366) 2021-05-09 14:28:24 -04:00