Martin Hjelmare
dab66a58ce
Clean smhi tests ( #50681 )
2021-05-15 20:22:32 +02:00
jan iversen
ad7be91b6a
Fix modbus blocking threads ( #50619 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-15 19:54:17 +02:00
Erik Montnemery
97d7037d12
Bump hatasmota to 0.2.13 ( #50662 )
...
* Bump hatasmota to 0.2.13
* Process review comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Tweak brightness compensation, improve tests
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-15 19:36:08 +02:00
J. Nick Koston
8e38f26978
Add support for asair brand to nexia ( #50504 )
2021-05-15 16:24:36 +02:00
Franck Nijhof
c9b25fe2a2
Remove YAML configuration from Local IP ( #50642 )
2021-05-15 13:45:10 +02:00
Franck Nijhof
7221b1e09d
Sort effect lists in light groups ( #50620 )
2021-05-14 21:43:43 -07:00
Erik Montnemery
bcd8f43e7b
Update light intents to check supported_color_modes ( #50625 )
2021-05-14 14:23:29 -07:00
Erik Montnemery
960ed13f94
Update light device actions to check supported_color_modes ( #50611 )
2021-05-14 22:58:37 +02:00
Paulus Schoutsen
646af533f0
Add support for Hue push updates ( #50591 )
2021-05-14 13:39:57 -07:00
tkdrob
40993f3ebb
Add DHCP support to goalzero ( #50425 )
2021-05-14 13:12:46 -05:00
Simone Chemelli
4d55290932
Fritz code quality improvements from #48287 and #50055 ( #50479 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-14 11:46:37 -05:00
Kevin Eifinger
c220e70008
Add integration kraken ( #31114 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-14 08:02:11 -07:00
Charles Garwood
f33b45ec82
Add interview feedback for Z-Wave JS add node websocket ( #50384 )
...
* Add interview feedback for add node websocket
* cleanup leftover logging
* add tests
* test interview failed event
* fix event type
* include manufacturer & model from device registry
* update test
2021-05-14 09:47:09 -04:00
Thomas Schamm
8fcf06a2a9
Add bosch_shc supporting Bosch Smart Home Controller ( #34063 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-14 15:03:26 +02:00
Álvaro Fernández Rojas
9247a157d8
Add AEMET conditional station updates ( #50227 )
2021-05-14 13:28:48 +02:00
Franck Nijhof
42df6750e2
Refactor AdGuard config flow tests ( #50566 )
2021-05-14 13:19:24 +02:00
Paulus Schoutsen
aef24a807e
Yeelight: Do not log errors when cannot connect ( #50592 )
2021-05-13 22:33:18 -07:00
Brandon Rothweiler
122741b914
Add lock platform to the Mazda integration ( #50548 )
2021-05-13 22:52:52 -05:00
uvjustin
e8d7d96231
Roll back #47852 (shield httpx in generic) ( #50562 )
2021-05-13 20:32:06 -07:00
J. Nick Koston
52edf9ac35
Ensure isy994 is only discovered once ( #50577 )
...
The formatting of the mac was different between dhcp and ssdp
2021-05-13 19:35:24 +02:00
Erik Montnemery
216b0df908
Set state_class for demo sensor ( #50523 )
2021-05-12 18:38:26 +02:00
Franck Nijhof
38a0cf6650
Refactor SolarEdge config flow tests ( #50467 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-12 17:43:27 +02:00
J. Nick Koston
70961c79a0
Migrate emulate_hue to use storage to fix I/O in event loop ( #50473 )
2021-05-12 16:10:28 +02:00
J. Nick Koston
a4ea9b3cd3
Update usage of async_entries to use _async_current_entries ( #50187 )
2021-05-12 12:47:06 +02:00
definitio
e090581e3c
Add stop for demo players ( #50485 )
2021-05-12 10:26:12 +02:00
Erik Montnemery
b35f229674
Include _StopScript.__cause__ in trace ( #50441 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-11 22:27:11 -07:00
Raman Gupta
6cb283d36b
Fix vizio integration ( #50436 )
2021-05-11 22:05:45 -07:00
J. Nick Koston
dd3965e4e2
Ensure zeroconf does not generate config flows when matching attributes are missing ( #50208 )
...
If macaddress, name, or manufacturer were missing from the
discovery info, the matcher would accept instead of reject.
2021-05-11 21:24:42 -07:00
J. Nick Koston
c037ebb27c
Add discovery to yeelight ( #50385 )
2021-05-11 19:55:50 -05:00
J. Nick Koston
7314247ce3
Add dhcp support to iSmartGate ( #50309 )
2021-05-12 00:20:03 +02:00
J. Nick Koston
c1cf07768b
Add dhcp discovery support to isy994 ( #50488 )
...
- SSDP may not be enabled by default
2021-05-12 00:06:55 +02:00
Artem Draft
d29e812033
New overrides in universal media player ( #48611 )
...
* Update media_player.py
fix missing overrides in universal
* Update media_player.py
Black
* add tests and allow overrides for missing services
* switch sync to async
* Update tests/components/universal/test_media_player.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* setup component after modifying config
* switch test to sync
* fix black
* fix test
* rework tests, disable override media_seek
Co-authored-by: raman325 <7243222+raman325@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-11 23:44:26 +02:00
karliemeads
3a93151aa2
Improve light tests for brightness step and profiles ( #49887 )
2021-05-11 23:31:36 +02:00
J. Nick Koston
34c84a6bbb
Reduce boilerplate to abort for matching config entries ( #50186 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-11 22:00:12 +02:00
jjlawren
d6a202bd74
Move core Sonos functionality out of entities ( #50277 )
2021-05-11 10:36:40 -07:00
J. Nick Koston
909a20b36d
Use async zeroconf registration functions ( #50168 )
2021-05-11 11:03:36 -05:00
epenet
d6c99a3db9
Enable strict type checks for onewire ( #50422 )
2021-05-11 17:28:17 +02:00
Maciej Bieniek
f5541a468e
Improve type annotations for GIOS integration ( #50454 )
2021-05-11 07:57:24 -07:00
Martin Hjelmare
f71eb4d34d
Clean somfy config flow tests ( #50461 )
2021-05-11 16:19:07 +02:00
Simone Chemelli
4e24640ff7
Remove pytest-mock dependency ( #50400 )
2021-05-11 17:17:00 +03:00
Martin Hjelmare
48b5ef0bac
Clean twentemilieu config flow tests ( #50460 )
2021-05-11 15:53:36 +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
b36c840909
Add dhcp support to guardian ( #50378 )
2021-05-10 21:26:15 -05:00
indykoning
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
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
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
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
Erik Montnemery
e57634b1e0
Bump hatasmota to 0.2.12 ( #50372 )
2021-05-09 22:57:27 +03:00