Commit Graph

6942 Commits (d98e580c3c4e30fe07e16b763ed2256dc0e8dc16)

Author SHA1 Message Date
Bram Kragten 0fbdce5ca6
Update frontend to 20210528.0 (#51199) 2021-05-28 14:38:01 +02:00
Greg Dowling 02ac9a75b1
Bump pyroon to 0.0.37 (#51164) 2021-05-27 21:01:04 +02:00
René Klomp 65f2fe9c01
Bump pysma version to 0.5.0 (#51098)
* Use new get_sensors method

* Update pysma requirement

* Update primary codeowner

* Update device_info handling

* Fix LEGACY_MAP

* Updated tests

* Fix pysma references

* Fix pylint raise-missing-from

* Better import of Sensors

* Remove software version related changes

* Revert codeowners change
2021-05-27 12:53:14 +02:00
Eduard van Valkenburg cede36d91c
Followup PR for SIA integration (#51108)
* Updates based on Martin's review

* fix strings and cleaned up constants
2021-05-27 10:55:47 +02:00
Anders Melchiorsen fdfb84e8e2
Upgrade pysonos to 0.0.50 (#51125) 2021-05-27 08:13:10 +02:00
Barry Williams 5ac81ccb4c
Openhome component now uses asyncio and handles unavailability (#49574) 2021-05-26 09:39:44 -07:00
Bram Kragten 42b92748f6
Update frontend to 20210526.0 (#51110) 2021-05-26 09:31:46 -07:00
Klaas Schoute 31c07e710a
bump garage_amsterdam lib to v2.1.1 (#51111) 2021-05-26 09:31:23 -07:00
J. Nick Koston 64661ee2b7
Add network configuration integration (#50874)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 09:06:30 -07:00
Erik Montnemery 16e90f12ca
Add last_reset property to Tasmota energy sensors (#51107)
* Add last_reset property to Tasmota energy sensors

* Correct device class for energy sensors
2021-05-26 17:58:06 +02:00
Brandon Rothweiler a36935dcee
Add services for Mazda integration (#51016) 2021-05-26 16:36:36 +02:00
Raman Gupta 1de0d20a76
Bump zwave-js-server-python to 0.25.1 (#51097)
* Bump zwave-js-server-python to 0.25.1

* update fixtures
2021-05-26 12:37:24 +02:00
chpego 19c9675d4a
Bump youtube-dl to 2021.04.26 (#50037) 2021-05-26 10:32:43 +02:00
Franck Nijhof 997a847b5c
Add support for Sensor state class to ESPHome (#51090)
* Add support for Sensor state class to ESPHome

* Bump aioesphome to 2.8.0
2021-05-26 00:21:18 +02:00
Simone Chemelli 3d41a66673
Bump aioshelly to 0.6.4 (#51081) 2021-05-25 19:28:12 +02:00
J. Nick Koston 98535c9e6c
Set homekit controller available state at startup (#51013) 2021-05-25 11:47:28 -05:00
András Rutkai 727ca79b93
Updating IBM Watson SDK, replacing TTS API endpoint (#50909) 2021-05-25 17:38:09 +02:00
Martin Hjelmare de74028958
Disable ee_brightbox integration (#51069) 2021-05-25 16:09:23 +02:00
Jeroen Peters 67804ee5df
Bump yeelight to 0.6.3 (#51065) 2021-05-25 15:36:19 +02:00
Adrián Moreno fe34f42aa5
Add new Meteoclimatic integration (#36906)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 13:11:48 +02:00
Raman Gupta 3573249720
Bump zwave-js-server-python to 0.25.0 (#51053) 2021-05-25 13:10:42 +02:00
Nash Kaminski 2ae91bf0ea
Correct humidifier detection in venstar component and add tests (#50439)
As of version 0.14, the venstar_colortouch lib always initializes hum_setpoint to None. When a thermostat actually reports a humidifier state, this value is replaced with the integer value of the setpoint. This changeset corrects the humidifier detection as well as adds basic test cases for the Venstar component.
2021-05-24 16:41:37 +02:00
J. Nick Koston 60e65a4bc2
Bump async-upnp-client to 0.18.0 (#51017)
- Adds support for a long running SSDP listener
2021-05-24 13:50:40 +02:00
hesselonline c497c0eadd
Add wallbox integration (#48082)
* Wallbox component added

* resolved mergeconflicts from upstream

* fixed an incorrect removal in CODEOWNERS file

* fixes for pullrequest automatic test

* clean up code after PR tests

* fixed strings.json

* fix config_flow error > wallbox

* fixed some formatting issues

* fix pylint warnings

* fixed error in number.py > set value

* pylint warnings fixed

* some more pylint fixes

* isort fixes

* fix unused_import pylint

* remove tests

* remove test requirements

* config flow test

* test errors resolved

* test file formatting

* isort on test file

* sensor test

* isort on test

* isort test const

* remove not working sensor test

* remove test const

* add switch, number and lock test

* docstrings for test classes

* sort test_number, create test_sensor

* additional tests

* fix test error

* reduced PR to 1 component

* newline in const

* ignore test coverage -> dependency on external device (wallbox)

* do not ignore config_flow

* add test for validate_input

* remove obsolete import

* additional test config flow

* change test sensor

* docstring

* add additional test for exceptions

* fix test_config

* more tests

* fix test_config_flow

* fixed http error test

* catch connectionerror and introduce testing for this error

* remove .coveragefile

* change comment

* Update homeassistant/components/wallbox/__init__.py

review suggestion by janiversen

Co-authored-by: jan iversen <jancasacondor@gmail.com>

* Update homeassistant/components/wallbox/__init__.py

review suggestion by janiversen (format only)

Co-authored-by: jan iversen <jancasacondor@gmail.com>

* Processed review comments, include more testing for sensor component

* Isolated the async_add_executor_job to make the solution more async

* add a config flow test

* Revert "add a config flow test"

This reverts commit 9c1af82fff.

* Revert "Isolated the async_add_executor_job to make the solution more async"

This reverts commit 0bf034c331.

* Make component more async and add config flow tests

* Changes based on review comments

* made _ methods in WallboxHub for the 'non-async' call to the API and try-catch. Stored the wallbox in the class.

* moved the coordinator to __init__ and pass it as part of the WallboxHub class

* removed obsolete function in __init__

* removed CONNECTION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL

* fixed spelling and imports on test files

* did isort on component files

Co-authored-by: jan iversen <jancasacondor@gmail.com>
2021-05-24 13:08:24 +02:00
Eduard van Valkenburg 0bba0f07ac
Add SIA Alarm systems (#36625)
* initial commit of SIA integration

* translations

* moved reactions to file, typed everything

* fixed no-else-return 3 times

* refactored config and fix coverage of test

* fix requirements_test

* elimated another platform

* forgot some mentions of sensor

* updated config flow steps, fixed restore and small edits

* fixed pylint

* updated config_flow with better schema, small fixes from review

* final comment and small legibility enhancements

* small fix for pylint

* fixed init

* fixes for botched rebase

* fixed port string

* updated common strings

* rebuild component with eventbus

* fixed pylint and tests

* updates based on review by @bdraco

* updates based on new version of package and reviews

* small updates with latest package

* added raise from

* deleted async_setup from test

* fixed tests

* removed unused code from addititional account step

* fixed typo in strings

* clarification and update to update_data func

* added iot_class to manifest

* fixed entity and unique id setup

* small fix in tests

* improved unique_id semantics and load/unload functions

* added typing in order to fix mypy

* further fixes for typing

* final fixes for mypy

* adding None return types

* fix hub DR identifier

* rebased, added DeviceInfo

* rewrite to clean up and make it easier to read

* replaced functions with format for id and name

* renamed tracker remover small fix in state.setter

* improved readibility of state.setter

* no more state.setter and small updates

* mypy fix

* fixed and improved config flow

* added fixtures to test and other cleaner test code

* removed timeband from config, will reintro in a options flow

* removed timeband from tests

* added options flow for zones and timestamps

* removed type ignore

* replaced mapping with collections.abc
2021-05-24 08:48:28 +02:00
Matt Zimmerman 121349f866
Bump python-smarttub to 0.0.25 (#51015) 2021-05-23 20:27:25 -05:00
J. Nick Koston 3cef96e78a
Update aiohomekit to subscribe more like iOS (#50997) 2021-05-23 13:39:22 -05:00
Andrew Hayworth 4d527c5cd2
Update pylutron-caseta to 0.10.0 (#51005)
This update adds support for:
- PD-15OUT outdoor switch
- RA2 Select fan controller
2021-05-23 12:51:51 -05:00
Daniel Hjelseth Høyer 9b02fd86c5
Update mill library, fix consumption data (#50992)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-05-23 13:11:48 +02:00
Eugenio Panadero ecb24f01a3
Bump aiopvpc from 2.0.2 to 2.1.1 (#50989)
* Remove pytz dependency and handle timezones with zoneinfo, and adapt to use input timezone as a time zone object or a string identifier
* Fix prices being badly assigned in Canary Islands timezone
* Fix sensor attributes in month changes
2021-05-23 12:48:33 +02:00
Malte Franken 3141535d69
Bump geojson_client to 0.6 (#50985)
* bump geojson_client library to version 0.6

* add myself as codeowner
2021-05-23 08:55:02 +02:00
J. Nick Koston e4c77fd336
Bump aiohomekit to 0.2.62 (#50981)
- Discovery is now instant when a ServiceBrowser is running

Changelog: https://github.com/Jc2k/aiohomekit/compare/0.2.61...0.2.62
2021-05-22 22:22:56 -07:00
J. Nick Koston 45897b59f2
Turn on samsungtv with wakeonlan (#50964)
If we have the mac address from discovery, we can use it to wake
the TV.  Currently the TV goes unavailable when you turn it off
as the only way to turn it back on is wake on lan or via the remote.

Users who are not using host networking can use a script instead.
2021-05-22 15:33:37 -05:00
J. Nick Koston d9769900bb
Bump aiodiscover to 1.4.2 (#50917) 2021-05-21 07:27:52 +02:00
Klaas Schoute 61ef58aa16
bump garage_amsterdam lib to v2.0.5 (#50891) 2021-05-20 15:14:34 +02:00
Tobias Sauerwein ceec871340
Make Netatmo use async pyatmo (#49717)
* Split initialization from data retrival

* Await class initialization

* Async camera

* More async

* Remove stale code

* Clean up

* Update tests

* Fix test

* Improve error handling

* Bump pyatmo version to 5.0.0

* Add tests

* Add cloudhook test

* Increase coverage

* Add test with no camera devices

* Add test for ApiError

* Add test for timeout

* Clean up

* Catch pyatmo ApiError

* Fix PublicData

* Fix media source bug

* Increase coverage for light

* Test webhook with delayed start

* Increase coverage

* Clean up leftover data classes

* Make nonprivate

* Review comments

* Clean up stale code

* Increase cov

* Clean up code

* Code clean up

* Revert delay

* Update homeassistant/components/netatmo/climate.py

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

* Update homeassistant/components/netatmo/sensor.py

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

* Address comment

* Raise cov

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-20 14:59:19 +02:00
Franck Nijhof f44efb1eea
Upgrade watchdog to 2.1.2 (#50863) 2021-05-20 00:12:27 +02:00
Charles Garwood 9f754f1643
bump envoy_reader to 0.19.0 (#50827) 2021-05-19 22:30:31 +02:00
Maciej Bieniek f192702648
Add Nettigo Air Monitor uptime sensor (#50834) 2021-05-19 13:20:11 +02:00
Shay Levy c4ced2b351
Bump aioshelly to 0.6.3 (#50857) 2021-05-19 13:53:26 +03:00
David Bonnes 28e9b9e01d
Add evohome water_heater service calls, bump client to 0.3.15 (#50803) 2021-05-19 11:41:20 +02:00
Tobias Sauerwein 3ed416ed4c
Bump pyatmo to 4.2.3 (#50801)
* Bump pyatmo to 4.2.3

* Fix typo and update test fixture
2021-05-19 08:47:06 +02:00
Ville Skyttä a2363f0243
Upgrade huawei-lte-api to 1.4.18 (#50828)
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.18

Closes https://github.com/home-assistant/core/issues/50777
2021-05-19 08:24:04 +02:00
Maciej Bieniek a58eae1bf1
Bump brother library version (#50833) 2021-05-18 22:32:11 -05:00
jjlawren 3d5b354def
Bump pysonos to 0.0.49 (#50841) 2021-05-18 20:31:38 -05:00
Paulus Schoutsen c890966ce4
Updated frontend to 20210518.0 (#50842) 2021-05-18 15:54:14 -07:00
shbatm 775af9d2c5
Update PyISY to v3.0.0 and ISY994 to use Async IO (#50806) 2021-05-18 14:15:47 -05:00
Aaron David Schneider 1d174a1f6f
Bump pysonos to 0.0.48 (#50798) 2021-05-18 08:40:51 +02:00
J. Nick Koston 3cc3cacd08
Start ServiceBrowser as soon as possible in zeroconf (#50784)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-05-17 20:51:05 -07:00
Shay Levy 7a60d0eae4
Enable back free-mobile (#50802) 2021-05-17 20:41:56 -07:00
Paulus Schoutsen 781524ee36
Updated frontend to 20210517.0 (#50804) 2021-05-17 16:54:06 -07:00
jjlawren b1ff9dc45e
Bump pysonos to 0.0.47 (#50792) 2021-05-17 16:06:13 -05:00
G Johansson 6f7ae3727b
Bump yalesmartalarmclient to 0.3.3 (#50613) 2021-05-17 22:39:56 +02:00
Paulus Schoutsen 56774a9f63
Hue: unique ID for groups + remote events (#50748) 2021-05-17 08:07:25 -07:00
Franck Nijhof 9afa7df3c1
Upgrade apprise to 0.9.3 (#50769) 2021-05-17 15:06:36 +02:00
Franck Nijhof 74c20cdaa1
Upgrade geopy to 2.1.0 (#50714) 2021-05-17 12:26:44 +02:00
Matthias Alphart 7b18860dcd
Update xknx to version 0.18.2 (#50491)
* xknx 0.18.2

* individual colors without switch

* make `setpoint_shift_mode` optional

* Update homeassistant/components/knx/schema.py
2021-05-17 11:18:13 +02:00
Álvaro Fernández Rojas 4357d2dc84
Update AEMET library to latest version (#50222)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-05-17 11:07:53 +02:00
Franck Nijhof a414cad3b2
Upgrade aiodns to 3.0.0 (#50712) 2021-05-17 10:46:37 +02:00
David Nielsen 636528dd2e
Update bravia-tv to 1.0.11 (#50726) 2021-05-17 09:37:13 +02:00
Paulus Schoutsen 1b74359ddb
Disable free-mobile because requirement breaks setuptools (#50749) 2021-05-17 08:12:23 +02:00
Klaas Schoute e1dd479e15
Add Garages Amsterdam integration (#43157)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-15 20:43:12 +02:00
Franck Nijhof 990b7c371f
Upgrade PyTurboJPEG to 1.5.0 (#50670) 2021-05-15 19:41:48 +02:00
Franck Nijhof aa6b26c9ff
Upgrade defusedxml to 0.7.1 (#50671) 2021-05-15 19:41:34 +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
Franck Nijhof c1be4cbd79
Upgrade numpy to 1.20.3 (#50660) 2021-05-15 12:28:03 -04:00
J. Nick Koston 8e38f26978
Add support for asair brand to nexia (#50504) 2021-05-15 16:24:36 +02:00
David De Sloovere bdc1ab2b88
Flic bump lib to 2.0.3 (#50483) 2021-05-15 15:55:07 +02:00
Pascal Vizeli f84ceee7b7
Bump OpenCV 4.4.0.42 (#50640) 2021-05-15 15:00:03 +02:00
Franck Nijhof 7ae050c5ac
Upgrade watchdog to 2.1.1 (#50659) 2021-05-15 14:56:49 +02:00
Ville Skyttä ed10856cc4
UpCloud API and typing update (#50624) 2021-05-14 21:49:41 -07:00
Paulus Schoutsen 646af533f0
Add support for Hue push updates (#50591) 2021-05-14 13:39:57 -07: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
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
Franck Nijhof ca2b3fcc9e
Upgrade evdev to 1.4.0 (#50601) 2021-05-14 12:15:15 +02:00
muppet3000 207ee39d00
Bump growattServer library (#50588) 2021-05-14 09:50:41 +02:00
Maciej Bieniek 4c68518b18
Bump accuweather library (#50573) 2021-05-14 09:38:44 +02:00
Brandon Rothweiler 122741b914
Add lock platform to the Mazda integration (#50548) 2021-05-13 22:52:52 -05:00
jan iversen dbf7430003
Bump pymodbus to v2.5.2 (#50582)
Solves a serial - rs-485 adapter issue.
2021-05-13 20:31:48 -07:00
Maciej Bieniek 6adbc702eb
Bump `brother` library (#50572) 2021-05-13 13:14:00 -05:00
Barry Quiel c079803fcb
Powerwall add Current attribute (#50550) 2021-05-13 11:12:48 -05:00
Kevin Anthony 3b3d6e0da5
Add vesync Core200S air purifier (#50216) 2021-05-12 23:02:24 -05:00
jjlawren ca09027914
Bump pysonos to 0.0.46 (#50544) 2021-05-12 16:16:29 -05:00
Joakim Sørensen ce87fc902b
Bump pyhaversion from 21.3.0 to 21.5.0 (#50540) 2021-05-12 21:12:58 +02:00
Daniel Hjelseth Høyer 2945c79c5a
Tibber sensors (#50418)
* Tibber, split attribute to sensors

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber, split attribute to sensors

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber, split attribute to sensors

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/tibber/sensor.py

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

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/tibber/sensor.py

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

* fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* migrate to new device ids

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/tibber/sensor.py

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

* Update homeassistant/components/tibber/sensor.py

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

* Migrate entity id

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Migrate entity id

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/tibber/sensor.py

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

* Update homeassistant/components/tibber/sensor.py

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

* Update homeassistant/components/tibber/sensor.py

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

* move registers out of looå

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-12 20:07:44 +02:00
Franck Nijhof 72f342aa5b
Upgrade aioesphomeapi to 2.7.0 (#50522) 2021-05-12 15:21:54 +02:00
Paulus Schoutsen 5ed252ebfa
Bump aiohue to 2.3.1 (#50506) 2021-05-11 22:15:36 -07:00
Jesse Hills b8d468717a
Bump python-juicenet package to 1.0.2 (#50505) 2021-05-11 21:52:22 -07:00
Oliver dc39edd090
update denonavr version 0.10.8 (#50476) 2021-05-12 00:09:22 +02: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
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
jjlawren 9ae021a284
Bump pysonos to 0.0.45 (#50407) 2021-05-10 08:56:18 -07: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
Franck Nijhof 717f4e69d5
Remove defunct Spot Crime integration (#50361) 2021-05-09 22:23:52 +02:00
Erik Montnemery e57634b1e0
Bump hatasmota to 0.2.12 (#50372) 2021-05-09 22:57:27 +03: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 0a95aa282c
Upgrade debugpy to 1.3.0 (#50356) 2021-05-09 11:29:28 -05:00
Aidan Timson 9059ce1c0f
Additional System Bridge Sensors (#50274)
* Update systembridge to 1.1.4

* Update systembridge to 1.1.5

* Names

* Add memory sensors

* Set icons

* Add bios version sensor

* Memory used percentage sensor

* Add types

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

* Disable by default

* Typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-09 05:07:13 +02:00
Gleb Sinyavskiy 52b1a416d9
Remove the N26 integration (#50292) 2021-05-09 00:58:23 +02:00
Joakim Plate 10afbe4279
Bump ha-philipsjs to 2.7.3 (#50293) 2021-05-08 20:33:55 +02:00
Gleb Sinyavskiy 97eb4c6c62
Add syncthing integration (#38331)
* Scaffold the integration

* Add config flow data schema

* Handle configuration errors

* Get folder states

* Support https

* Fix translations

* Listen to syncthing events in a separate thread

* Bump syncthing

* Automatically reconnect to the syncthing server

* Renames

* Improve loading and unloading

* Update folder states from events

* Refactoring, handle FolderPaused event

* Dynamic folder icons

* Refactoring

* Mark folders as unavailable when senrver is unavailable

* Update folder satus when server is available

* Raise PlatformNotReady

* Implement additional polling

* Stop polling when the server is not available

* Minor fixes

* Remove logging

* Check name uniqueness

* Refactoring

* Minor refactorings

* Bump python-syncthing

* Migrate to aiosyncthing

* Minor fixes

* Update .coveragerc

* Set quality scale

* Bump aiosyncthing, properly handle invalid token

* Fix logging

* Fix logging

* Use CONF_VERIFY_SSL from homeassistant.const

* Bump aiosyncthing. Add Syncthing device

* Fix device name

* Bump aiosyncthing

* Bump aiosyncthing

* Extract SyncthingClient

* Add folder to device_state_attributes

* Do not pass the loop

* Cover config_flow.py

* Move self.async_create_entry outside of the try block

* Raise ConfigEntryNotReady if syncthing server is not reachable

* Fix already configured error message

* Change default name to Syncthing

* Bump aiosyncthing

* Fix formatting

* Fix formatting

* Fix tests

* Fix typo, use lis comprehension

* Fix typo, remove unused CONFIG_SCHEMA

* Bump aiosyncthing

* Remove periods from log messages W0001

* Fix tests

* Black, isort

* Remove empty items from manifest.json

* Fix variable naming

* Remove async_setup

* Use SensorEntity

* Use asyncio.create_task instead of self._hass.loop.create_task

* Do not pass hass to FolderSensor initializer

* Rename device_state_attributes to extra_state_attributes

* Use callbacks

* Simplify tests

* Refactor _listen()

* Use url for the title

* Use the url instead of the name to identify the config entry

* Explicitly set sensor attributes, extract _filter_state

* Use server url instead of name in device_info

* Use server url instead of name in logs

* User server id as a device identifier

* Use URL instead of name to identify config entry

* Use shortened server id instead of name to build entity name and unique id

* Do not use CONF_NAME

* Cleanup unused strings

* Cleanup unused strings

* Add IOT class

* Scaffold the integration

* Add config flow data schema

* Handle configuration errors

* Get folder states

* Support https

* Fix translations

* Listen to syncthing events in a separate thread

* Bump syncthing

* Automatically reconnect to the syncthing server

* Renames

* Improve loading and unloading

* Update folder states from events

* Refactoring, handle FolderPaused event

* Dynamic folder icons

* Refactoring

* Mark folders as unavailable when senrver is unavailable

* Update folder satus when server is available

* Raise PlatformNotReady

* Implement additional polling

* Stop polling when the server is not available

* Minor fixes

* Remove logging

* Check name uniqueness

* Refactoring

* Minor refactorings

* Bump python-syncthing

* Migrate to aiosyncthing

* Minor fixes

* Update .coveragerc

* Set quality scale

* Bump aiosyncthing, properly handle invalid token

* Fix logging

* Fix logging

* Use CONF_VERIFY_SSL from homeassistant.const

* Bump aiosyncthing. Add Syncthing device

* Fix device name

* Bump aiosyncthing

* Bump aiosyncthing

* Extract SyncthingClient

* Add folder to device_state_attributes

* Do not pass the loop

* Cover config_flow.py

* Move self.async_create_entry outside of the try block

* Raise ConfigEntryNotReady if syncthing server is not reachable

* Fix already configured error message

* Change default name to Syncthing

* Bump aiosyncthing

* Fix formatting

* Fix formatting

* Fix tests

* Fix typo, use lis comprehension

* Fix typo, remove unused CONFIG_SCHEMA

* Bump aiosyncthing

* Remove periods from log messages W0001

* Fix tests

* Black, isort

* Remove empty items from manifest.json

* Fix variable naming

* Remove async_setup

* Use SensorEntity

* Use asyncio.create_task instead of self._hass.loop.create_task

* Do not pass hass to FolderSensor initializer

* Rename device_state_attributes to extra_state_attributes

* Use callbacks

* Simplify tests

* Refactor _listen()

* Use url for the title

* Use the url instead of the name to identify the config entry

* Explicitly set sensor attributes, extract _filter_state

* Use server url instead of name in device_info

* Use server url instead of name in logs

* User server id as a device identifier

* Use URL instead of name to identify config entry

* Use shortened server id instead of name to build entity name and unique id

* Do not use CONF_NAME

* Cleanup unused strings

* Cleanup unused strings

* Add IOT class

* Apply suggestions from code review

* Clean up

* Fix dict comprehension

* Clean sensor

* Use the server ID as a config entry unique ID

* Remove the AlreadyConfigured exception

* Clean up old error string

* Format json

* Convert sensor attributes to snake case

* Force CI

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-08 19:12:14 +02:00
Oliver 7374b844d7
Update denonavr to version 0.10.7 (#50288) 2021-05-08 10:53:08 -05:00
Leonardo Figueiro e3bc9eaf5f
pywilight update (#50207) 2021-05-08 04:26:13 -05:00
Aidan Timson a32dc56153
Update ovoenergy to 1.1.12 (#50268) 2021-05-07 22:05:09 -05:00
Pawel 57d3342137
Fix Epson config flow unique_id (#45434)
* switch Epson from HTTP to TCP communication

* fix tests

* add asyncio websession

* fix manifest

* fix config flow

* fix manifest

* fix logger warnings

* switch Epson from HTTP to TCP communication

* fix tests

* add asyncio websession

* fix config flow

* fix manifest

* fix logger warnings

* add already configured to import yaml

* remove neccessary projector on on config.yaml

* remove check import None

* reload integration if no unique_id

* async_migrate_entry

* add async_migrate_entry

* add init tests

* media player migration uid

* unifi config flow

* Update homeassistant/components/epson/media_player.py

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

* Update homeassistant/components/epson/media_player.py

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

* Apply suggestions from code review

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

* review

* remove unnecessary try except

* add import test

* Apply suggestions from code review

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

* revert PORT option from config yaml

* fix tests

* remove port from config flow

* fix CONFIG_SCHEMA

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-07 23:05:59 +02:00
Maciej Bieniek 0587f834df
Add Nettigo Air Monitor integration (#49099) 2021-05-07 08:59:29 -05:00
Aaron Bach d4601e00fd
Remove simplisafe websocket (#50213) 2021-05-07 15:41:37 +02:00
Paulus Schoutsen 17fc962a87
Bump aiohue to 2.3.0 (#50217)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-07 14:24:47 +02:00
Maciej Bieniek 7a87846146
Bump `gios` library (#50145)
* Bump gios library

* Use consts for API strings

* Do not store data locally

* Use API_TIMEOUT const
2021-05-07 13:03:11 +02:00
Fabian Affolter 47c4c681f4
Upgrade sendgrid to 6.7.0 (#50194) 2021-05-07 07:29:55 +02:00
Fabian Affolter 93628554cb
Upgrade slixmpp to 1.7.1 (#50192) 2021-05-07 07:28:58 +02:00
Fabian Affolter 084f139a4d
Upgrade praw to 7.2.0 (#50197) 2021-05-07 07:26:21 +02:00
Fabian Affolter 1c4a44dc5c
Upgrade discord.py to 1.7.2 (#50201) 2021-05-07 07:24:54 +02:00
Raman Gupta 9f1b1c6c56
Add value map for Climacell V3 pollen sensors (#50200) 2021-05-06 21:12:51 -07:00
J. Nick Koston 7b07bc2d65
Bump netdisco to 2.8.3 for compat with latest zeroconf (#50212) 2021-05-06 22:26:03 -05:00
Oliver 0cf07ee2d8
Denonavr bugfixes (#49984) 2021-05-06 22:23:46 -05:00
Fabian Affolter 0bfc386be3
Upgrade TwitterAPI to 2.7.3 (#50195) 2021-05-06 19:23:11 -04:00
Tobias Sauerwein 33e044431e
Bump PyRMVtransport to 0.2.3 (#50183) 2021-05-06 23:34:50 +02:00
J. Nick Koston af832e5434
Use shared httpx client in gogogate2 (#45575) 2021-05-05 21:47:44 -07:00
J. Nick Koston 60b90c4546
Bump zeroconf to 0.30.0 to fix thread safety race (#50130) 2021-05-05 20:11:06 -07:00
J. Nick Koston 906de23087
Bump sqlalchemy to 1.4.13 (#50138) 2021-05-05 20:08:48 -07:00
Teemu R 0ed31b0ba7
Bump python-miio dependency (#50129) 2021-05-05 17:19:52 -07:00
Aidan Timson e4ef06d6b1
System Bridge Integration (#48156)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-06 01:33:32 +02:00
Franck Nijhof f88eea5275
Upgrade luftdaten to 0.6.5 (#50103) 2021-05-05 09:12:35 +02:00
Dermot Duffy b0eb2afa65
Bump motioneye-client to v0.3.6 . (#50096) 2021-05-05 07:58:20 +02:00
Bram Kragten 98edd58c55
Update frontend to 20210504.0 (#50093) 2021-05-04 15:11:03 -07:00
Franck Nijhof 34eb1627e0
Remove deprecated LIFX Legacy integration (#50069) 2021-05-04 14:25:59 -07:00
puddly e5ef171077
Bump zigpy-znp from 0.4.0 to 0.5.1 (#50086)
* Bump zigpy-znp from 0.4.0 to 0.5.0

* Add zigpy-znp to ZHA debug logging config

* Bump zigpy-znp from 0.5.0 to 0.5.1
2021-05-04 16:06:14 -04:00
Niels Mündler 2eae87fb1b
Add SyncThru binary sensors (#48114)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-04 08:28:45 +02:00
Daniel Hjelseth Høyer c69eeddc7b
Upgrade Tibber library, new grid prices for Glitre Energi (#50029)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-05-03 10:50:39 -07:00
bsmappee c49fa6f1ed
Bump pysmappee to 0.2.25 (#50031) 2021-05-03 18:51:23 +02:00
Bram Kragten 672d2e332f
Update frontend to 20210503.0 (#50036) 2021-05-03 09:32:45 -07:00
Unai 9d08178ed1
Upgrade maxcube-api dependency to 0.4.3 (#49982)
This new version only contains improvements in logs
to try to debug issue #49482
2021-05-03 10:22:47 +02:00
Tomas Hellström a29dfe0bf5
Update smhi package to 1.0.15 (#49987) 2021-05-03 10:21:57 +02:00
Milan Meulemans 6967fd184b
Abstract Rituals API data processing to PyPI (#49872) 2021-05-02 13:18:29 -10:00
Florian Gareis 93b668a6f9
Upgrade yeelight to 0.6.2 (#49995) 2021-05-03 00:05:40 +02:00
Franck Nijhof 6c4448a272
Upgrade elgato to 2.1.0 (#49975) 2021-05-02 17:18:36 +02:00
Alan Tse 3546ff2da2
Bump Tesla dependency teslajsonpy to 0.18.3 (#49939)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-01 17:04:37 -07:00
J. Nick Koston 4bebedb658
Bump pysonos to 0.0.44 to fix client session race (#49964)
Fixes #49954
2021-05-01 12:26:10 -10:00
Aaron Bach 9e43239240
Bump simplisafe-python to 9.6.10 (#49962) 2021-05-01 11:18:36 -10:00
Alexei Chetroi ef2b8bbca8
Bump up ZHA dependencies (#49959) 2021-05-01 15:55:04 -04:00
Artem Draft e597202b24
Update LG Netcast to use new backend library (#49927)
* Update LG Netcast to use new backend library

Bump lgnetcast to 0.3.3

* Add codeowner in LG Netcast
2021-05-01 07:49:17 -04:00
Jason Hunter 2b46c6bcda
Bump xbox-webapi to 2.0.11 (#49929) 2021-04-30 13:34:46 -07:00
Bram Kragten 5e27358590
Update frontend to 20210430.0 (#49928) 2021-04-30 13:25:57 -07:00
Franck Nijhof 9b863324c5
Update frontend to 20210429.0 (#49896) 2021-04-30 10:26:56 +02:00
Bram Kragten 55b5a1ed9c
Update frontend to 20210407.1 (#49882) 2021-04-29 14:31:51 -07:00
Fabian Affolter 25d257b631
Upgrade py-cpuinfo to 8.0.0 (#49833) 2021-04-29 08:39:03 +02:00
Aaron Bach d749015b96
Bump pyairvisual to 5.0.8 (#49823) 2021-04-28 21:34:19 +02:00
tkdrob 74f95ac338
Add switch platform to goalzero (#48612)
* Add switch platform to goalzero

* fix update interval

* Apply some suggested changes

* pass device class to parent

* Drop passing device_class

* Tweaks

* Drop underscore prefix
2021-04-28 21:24:56 +02:00
Paulus Schoutsen 2908332a4e
Bump frontend to 20210428.0 (#49821) 2021-04-28 11:21:51 -07:00
Erik Montnemery 3cb4ff8c4a
Bump hatasmota to 0.2.11 (#49811) 2021-04-28 13:52:46 +02:00
Angelo Gagliano d6c01cc0e6
Convert DHT to use circuitpython library (#41525)
* Converts DHT to use circuitpython library

* Adds dht requirement to requirements_all

* Cleanup for isort,black and requirements

* Adds validation to prefix with D for PIN

* Sends name over to dhtclient

* Adds exceptions for broad-except

* Adds explict except for raised exception

* Removes unused var

* Moves setting dht var out of try

* Bump to 3.5.8

* Moves non-exception steps to else

* Bump library version

* Bumps version
2021-04-28 09:52:57 +02:00
Matt Zimmerman 17e9e4fa31
update python-smarttub dependency to 0.0.24 (#49800) 2021-04-27 18:06:08 -10:00
Bram Kragten a30b21ad50
Update frontend to 20210427.0 (#49794) 2021-04-27 16:02:21 -07:00
Greg Dowling cd84595429
Rework roon media player grouping to use media_player base services (#49667)
* Add group/join status attributes to roon player.

* Rework join/unjoin code to use base media_player services.

* Switch join and unjoin to be sync.
2021-04-27 23:55:29 +02:00
Tom Toor a57761103c
Mutesync integration (#49679)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-27 13:44:59 -07:00
Ben ebbcfb1bc7
Fix and upgrade surepetcare (#49223)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 20:58:52 +02:00
David F. Mulcahey 6bc0fb2e42
Bump ZHA quirks library (#49757) 2021-04-27 10:02:16 -04:00
djtimca 2a2e573987
Bump omnilogic dependency to 0.4.5 (#49526) 2021-04-27 00:02:39 +02:00
Fabian Affolter 940d28960b
Upgrade TwitterAPI to 2.7.2 (#49680) 2021-04-26 07:43:52 +02:00
J. Nick Koston 9689e06d3c
Bump async-upnp-client to 0.16.2 (#49671) 2021-04-25 10:32:39 -10:00
J. Nick Koston 0862212942
Switch screenlogic discovery to use async version (#49650) 2021-04-25 12:41:40 +02:00
Simone Chemelli b92f29997e
Rework Fritz config_flow and device_tracker (#48287)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-25 00:10:33 -10:00
J. Nick Koston aaba9766ff
Bump scapy to 2.4.5 for dhcp (#49437) 2021-04-24 15:16:52 -10:00
Daniel Pervan f11834d85c
Fix August Type error (#49636) 2021-04-24 14:40:39 -10:00
Matthias Alphart 671148b6ca
Update xknx to version 0.18.1 (#49609) 2021-04-24 14:18:14 +02:00
Dermot Duffy bbe58091a8
Create a motionEye integration (#48239) 2021-04-23 23:00:28 -07:00
Franck Nijhof a380632384
Upgrade watchdog to 2.0.3 (#49594) 2021-04-23 18:12:08 -10:00
Jakub Bartkowiak 33d4d545a7
Fix charging error in Roomba integration (#49416) 2021-04-23 17:22:56 -10:00
Paulus Schoutsen 0072923fbe Bump frontend to 20210423.0 2021-04-23 20:10:58 -07:00
Daniel Hjelseth Høyer 694a163124
Update met.no library (#49607) 2021-04-23 11:29:20 -10:00
J. Nick Koston c753606a74
Bump async-upnp-client to 0.16.1 (#49577) 2021-04-23 07:39:49 +02:00
tikismoke 90ede05c82
Bump pyvlx to 0.2.19 (#49533)
* Update manifest.json

https://github.com/Julius2342/pyvlx/pull/59#issuecomment-824291298

* Update requirements_all.txt
2021-04-22 22:34:31 +02:00
D3v01dZA c4c8c67a03
Bump snapcast to 2.1.3 (#49553) 2021-04-22 15:46:48 +02:00
Maciej Bieniek e75233b279
Bump `brother` library to version 1.0.0 (#49547)
* Bump brother library

* Improve attributes generation
2021-04-22 13:20:14 +02:00
bsmappee 8b08134850
Support local Smappee Genius device (#48627)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-21 22:12:13 -10:00
J. Nick Koston c10836fcee
Upgrade to sqlalchemy 1.4.11 (#49538) 2021-04-21 20:29:36 -10:00
corneyl 303ab36c54
Add Picnic integration (#47507)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: @tkdrob <tkdrob4390@yahoo.com>
2021-04-21 22:21:56 -07:00
J. Nick Koston cb4558c088
Autodetect zeroconf interface selection when not set (#49529) 2021-04-21 22:10:34 -07:00
Kevin Worrel dc24ce491b
Add Screenlogic set_color_mode service (#49366) 2021-04-21 08:45:50 -10:00
Raman Gupta cf16e651cf
Bump zwave_js dependency to 0.24.0 (#49445)
* Bump zwave_js dependency to 0.24.0

* fix bug in schema

* fix test
2021-04-20 23:44:26 +02:00
Dermot Duffy ccda903c17
Upgrade to the latest hyperion-py (#49448) 2021-04-20 22:08:08 +02:00
Caleb Mah 45b6dfce68
Bump yeelight dependency to 0.6.1 (#49490) 2021-04-20 08:26:42 -10:00
Robert Svensson 34245c3add
Add alarm control panel support to deCONZ integration (#48736)
* Infrastructure in place

* Base implementation

* Add alarm event

* Add custom services to alarm control panel

* Add service descriptions

* Increase test coverage

* Simplified to one entity service with an options selector

* Remove everything but the essentials

* Add library with proper support

* Fix stale comments
2021-04-20 17:34:11 +02:00
chpego 82152616bb
Bump youtube-dl to 2021.04.17 (#49474) 2021-04-20 11:49:54 +02:00
jan iversen a278ebd37b
Bump pymodbus version to 2.5.1 (#49401) 2021-04-20 10:43:14 +02:00
Nathan Tilley 8305fbc0eb
Bump faadelays to 0.0.7 (#49443) 2021-04-20 00:39:24 +02:00
Dermot Duffy 1560c00db1
Use Hyperion human-readable effect names instead of API identifiers (#45763) 2021-04-19 23:46:18 +02:00
Daniel Rheinbay 83ecabe0a2
Bump fritzconnection to 1.4.2 (#49356) 2021-04-19 14:25:46 +02:00
Franck Nijhof 2de257f85f
Upgrade dsmr_parser to 0.29 (#49417) 2021-04-19 13:48:31 +02:00
Brent Petit 080c89c761
Only set fan state in ecobee set_fan_mode service (#48086) 2021-04-18 22:35:03 +02:00
J. Nick Koston e10c105058
Bump aiodiscover to 1.4.0 for dhcp (#49359)
- Switches to using dnspython to generate the queries/parse them from the wire
2021-04-18 09:46:39 +02:00
J. Nick Koston f7b7a805f5
Bump pysonos to 0.0.43 (#49330)
- Downgrade asyncio log severity
2021-04-16 20:19:50 -10:00
Paulus Schoutsen 89f2996caa Bump frontend to 20210416.0 2021-04-16 13:36:47 -07:00
Daniel Hjelseth Høyer 65d092f1cc
Upgrade pyMetno to 0.8.2 (#49308)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-04-16 20:17:46 +02:00
Shay Levy 38f0c201c2
Fix Tasmota Wifi Signal Strength unit (#49263) 2021-04-15 19:53:03 +02:00
bouni 4f5c745492
Fix broken swiss_hydrological_data integration (#49119)
* update requirements_all.txt

* 🚑 Fix broken JSON

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-04-15 12:40:23 +02:00
Franck Nijhof 63fa9f7dd8
Upgrade colorlog to 5.0.1 (#49221) 2021-04-14 23:56:32 +02:00
Franck Nijhof 6269449507
Upgrade spotipy to 2.18.0 (#49220) 2021-04-14 23:52:10 +02:00
Jeff Irion 81d46828ad
Bump androidtv (0.0.58) and adb-shell (0.3.1) (#49209) 2021-04-14 18:44:39 +02:00
Diogo Gomes e4a7260384
Bump pykmtronic to 0.3.0 (#49191) 2021-04-14 18:11:51 +02:00
Julien "_FrnchFrgg_" Rivaud 5a9c3fea70
Enable passing Amcrest/Dahua signals through as HA events (#49004)
Some of the compatible hardware sends event signals that wouldn't map
well to entities, e.g. NTP sync notifications, SIP registering
information, or « doorbell button pressed » events with no « return to
rest state » matching event to have a properly behaved binary sensor.

Instead of only monitoring specific events, subscribe to all of them,
and pass them through (in addition to handling them as before if they
correspond to a configured binary sensor).

Also bump python-amcrest to 1.7.2. Digest of the changes:

* The library now passes through the event data instead of just presence of a
 "Start" member in in.
* Connection to some devices has been fixed by not throwing the towel on
  minor errors.

https://github.com/tchellomello/python-amcrest/compare/1.7.1...1.7.2
2021-04-13 21:33:46 +02:00
René Klomp 926c2489f0
Implement SMA config flow (#48003)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Johann Kellerman <kellerza@gmail.com>
2021-04-13 06:21:01 -10:00
muppet3000 0ca3186caf
Add 'mix' system support for Growatt integration (#49026)
* Added 'mix' system support for Growatt integration

* Changed Growatt "Last Data Update" to a timestamp

* Changed Growatt "Last Data Update" to UTC

* Accepted suggested change for Growatt  "Last Data Update"

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 15:40:30 +02:00
J. Nick Koston 51a7a724d6
Bump aiodiscover to 1.3.4 (#49142)
- Changelog: https://github.com/bdraco/aiodiscover/compare/v1.3.3...v1.3.4 (bumps pyroute2>=0.5.18 to fix https://github.com/svinota/pyroute2/issues/717)
2021-04-13 12:31:55 +02:00
Clifford Roche 4ce6d00a22
Improve the discovery process for Gree (#45449)
* Add support for async device discovery

* FIx missing dispatcher cleanup breaking integration reload

* Update homeassistant/components/gree/climate.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/gree/switch.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/gree/bridge.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Working on feedback

* Improving load/unload tests

* Update homeassistant/components/gree/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Working on more feedback

* Add tests covering async discovery scenarios

* Remove unnecessary shutdown

* Update homeassistant/components/gree/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Code refactor from reviews

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-04-13 11:54:03 +02:00
Unai ff8e4fb77f
Upgrade maxcube-api to 0.4.2 (#49106)
Upgrade to maxcube-api 0.4.2 to fix pending issues in HA 2021.4.x:
 - Interpret correctly S command error responses (https://github.com/home-assistant/core/issues/49075)
 - Support application timezone configuration (https://github.com/home-assistant/core/issues/49076)
2021-04-13 00:14:29 +02:00
starkillerOG 88d2fb4aa6
Bump yeelight version to 0.6.0 (#49111) 2021-04-13 00:06:52 +02:00
William Scanlon 06a8ffe94d
Bump pyeconet to 0.1.14 (#49067)
* Bump pyeconet to fix crash

* Bump pyeconet from beta version

* Update requirements_all
2021-04-12 10:41:20 +02:00
J. Nick Koston 73f227b651
Use shared httpx client in enphase_envoy (#48709)
* Use shared httpx client in enphase_envoy

* test fix

* f

* bump version
2021-04-12 10:31:25 +02:00
Nathan Spencer eb2949a20f
Add set_wait_time command support to Litter-Robot (#48300)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-11 10:35:25 -10:00
Ludovico de Nittis 30618aae94
Reintroduce iAlarm integration (#43525)
The previous iAlarm integration has been removed because it used
webscraping #43010.

Since then, the pyialarm library has been updated to use the iAlarm API
instead.

With this commit I reintroduce the iAlarm integration, leveraging the
new HA config flow.

Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
2021-04-11 10:35:04 -10:00
J. Nick Koston a261bb35eb
Bump aiohomekit to 0.2.61 (#49044) 2021-04-11 06:42:46 -10:00
Joakim Plate 62182ea460
Bump ha-philipsjs to 2.7.0 (#49008)
This has some improvements to not consider the TV
off due to some exceptions that is related to API
being buggy rather than off.
2021-04-11 08:42:32 +02:00
Ben Hale e68678e336
Upgrade aioambient to 1.2.4 (#49035) 2021-04-10 20:19:31 -06:00
Franck Nijhof 654a532641
Upgrade wakonlan to 2.0.1 (#48995) 2021-04-10 21:50:12 +02:00
Andreas Oberritter e1d4d65ac4
Bump pysml to 0.0.5 (#49014) 2021-04-10 20:16:28 +02:00
amitfin f8690c29cd
Bump libhdate dependency (#48695) 2021-04-10 17:20:08 +02:00
dynasticorpheus 7ef17bf175
Add support for event type closed to integration folder_watcher (#48226) 2021-04-10 17:04:43 +02:00
J. Nick Koston a0a8638a2d
Bump nexia to 0.9.6 (#48982)
- Now returns None when a humidity sensor cannot be read instead of throwing an exception
2021-04-10 12:42:42 +02:00
Matt Zimmerman 324dd12db8
Update python-smarttub to 0.0.23 (#48978) 2021-04-09 20:36:57 -07:00
Guido Schmitz 441c304f11
Bump devolo Home Control to support old websocket-client versions again (#48960) 2021-04-09 17:07:04 -07:00
Paulus Schoutsen 9f06639ecc
Bump hass-nabucasa 0.43 (#48964) 2021-04-09 13:43:38 -07:00
Bram Kragten 43335953a2
Update frontend to 20210407.3 (#48957) 2021-04-09 11:53:20 -07:00
J. Nick Koston ac02f7c88a
Bump boto3 to 1.16.52 (#47772) 2021-04-09 10:16:59 -07:00
Tobias Sauerwein ee0c87df1c
Bump pykodi to 0.2.5 (#48930) 2021-04-09 09:54:39 -07:00
David F. Mulcahey f2f0331309
Bump ZHA quirks library (#48931) 2021-04-09 12:08:56 -04:00
RenierM26 155322584d
Update Ezviz Component (#45722)
* Update Ezviz Component

* Update Ezviz for pylint test

* Update Ezviz component pylint tests

* Update Ezviz component tests

* Update Ezviz Component tests

* Update Ezviz component pylint error

* Fix ezviz component config flow tests

* Update ezviz component

* Update Ezviz component

* Add sensor platforms

* issue with requirements file

* Update binary_sensor to include switches

* Updates to Ezviz sensors

* Removed enum private method.

* Fix switch args

* Update homeassistant/components/ezviz/switch.py

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

* config flow checks login info

* Config_flow now imports ezviz from camera platform

* Update test

* Updated config_flow with unique_id and remove period from logging

* Added two camera services and clarified service descryptions in services.yaml

* Fixed variable name mistake with new service

* Added french integration translation

* Config_flow add camera rtsp credentials as seperate entities, with user step and import step

* rerun hassfest after rebase

* Removed region from legacy config schema, removed logging in camera platform setup that could contain credentials, removed unused constant.

* Regenerate requirements

* Fix tests and add config_flow import config test

* Added addition test to config_flow to test successfull camera entity create.

* Add to tests method to end in create entry, config_flow cleanup, use entry instead of entry.data

* Removed all services, sorted platforms in init file.

* Changed RTSP logging to debug from warning. (Forgot to change this before commit)

* Cleanup typing, change platform order, bump pyezviz version

* Added types to entries, allow creation of main entry if deleted by validating existance of type

* Config_flow doesn't store serial under entry data, camera rtsp read from entry and not stored in hass, removed duplicate abort if unique id from config flow

* Fix test of config_flow

* Update tests/components/ezviz/test_config_flow.py

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

* Update tests/components/ezviz/test_config_flow.py

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

* Update tests/components/ezviz/test_config_flow.py

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

* Bumped pyezviz api version, added api pyezvizerror exception raised in api (on HTTPError), cleanup unused imports.

* rebase

* cleanup coordinator, bump pyezviz api version, move async_setup_entry to add entry options to camera entries. (order change)

* Added discovery step in config_flow if cameras detected without rtsp config entry

* Reload main integration after addition or completion of camera rtsp config entry

* Add tests for discovery config_flow, added a few other output asserts

* Camera platform call discover flow with hass.async_create_task. Fixes to config_flow for discovery step

* Fix config_flow discovery, add check to legacy yaml camera platform import, move camera private method to camera import step

* Remove not needed check from config_flow import step.

* Cleanup config_flow

* Added config_flow description for discovered camera

* Reordered description in config_flow confim step.

* Added serial to flow_step description for discovered camera, readded camera attributes for rtsp stream url (allows user to check RTSP cred), added local ip and firmware upgade available.

* Bumped pyezviz version and changed region code to region url. (Russia uses a completly different url). PyEzviz adds a Local IP sensor, removed camera entity attributes.

* Add RSTP describe auth check from API to config_flow

* url as vol.in options in Config_flow

* Config_flow changes to discovery step, added exceptions, fixed tests, added rtsp config validate module mock to test disovery confirm step

* Add test for config_flow step user_camera

* Added tests for abort flow

* Extend tests on custom url flow step

* Fix exceptions in config_flow, fix test for discovery import exception test

* Bump pyezviz api version

* Bump api version, added config_flow function to wake hybernating camera before testing credentials, removed "user camera" step from config flow not needed as cameras are discovered.

* Create pyezviz Api instance for config_flow wake hybernating camera, fixed tests and added fixture to mock method

* Added alarm_control_panel with support to arm/disarm all cameras, fixed camera is available attribute (returns 2 if unavailable, 1 if available)

* Skip ignored entities when setup up camera RTSP stream

* Remove alarm_control_panel, add additional config_flow tests

* Cleanup tests, add tests for discovery_step.

* Add test for config_flow rtsp test step1 exceptions

* Removed redundant except from second step in test RTSP method

* All tests to CREATE or ABORT, added step exception for general HTTP error so user can retry in case of trasient network condition

* Ammended tests with output checks for step_id, error, data, create entry method calls.

* bumped ezviz api now rases library exceptions. Config_flow, coordiantor and init raises library exceptions. Updated test sideeffect for library exceptions

* Bump api version, Create mock ezviz cloud account on discovery tests first to allow more complete testing of step.

* Add abort to rtsp verification method if cloud account was deleted and add tests

* Update tests/components/ezviz/__init__.py

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

* Update homeassistant/components/ezviz/const.py

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

* Update tests/components/ezviz/__init__.py

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

* Update homeassistant/components/ezviz/camera.py

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

* Update homeassistant/components/ezviz/camera.py

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

* Update homeassistant/components/ezviz/camera.py

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

* Update homeassistant/components/ezviz/camera.py

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

* Update homeassistant/components/ezviz/camera.py

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

* Update homeassistant/components/ezviz/camera.py

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

* Undo config import change to password key for yaml, move hass.data.setdefault to async_setup_entry and remove async_setup

* Fixed tests by removing _patch_async_setup as this was removed from init.

* Update homeassistant/components/ezviz/camera.py

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

* Update homeassistant/components/ezviz/camera.py

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

* Update homeassistant/components/ezviz/camera.py

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

* Changed L67 on camera config to complete suggestion for cleanup

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-09 12:39:19 +02:00
Tobias Sauerwein f396804f54
Bump pykodi to 0.2.4 (#48913) 2021-04-09 11:27:43 +02:00
Bram Kragten aaa9367554
Update frontend to 20210407.2 (#48888) 2021-04-08 12:41:40 -07:00
Philip Allgaier 50bc037819
Bump speedtest-cli to 2.1.3 (#48861) 2021-04-08 17:35:02 +02:00
Marvin Wichmann 91837f08ce
Update xknx to version 0.18.0 (#48799) 2021-04-08 14:54:43 +02:00
Aaron Bach e70d7327f9
Store Recollect Waste pickup dates in UTC (#48690)
* Store Recollect Waste pickup dates in UTC

* Code review

* Code review
2021-04-08 07:34:47 +02:00
Bram Kragten f2ef9e7505
Update frontend to 20210407.1 (#48778) 2021-04-07 08:57:45 -07:00
Bram Kragten ab190f36ac
Update frontend to 20210407.0 (#48765) 2021-04-07 11:42:12 +02:00
stegm 589f2240b1
New integration for Kostal Plenticore solar inverters (#43404)
* New integration for Kostal Plenticore solar inverters.

* Fix errors from github pipeline.

* Fixed test for py37.

* Add more test for test coverage check.

* Try to fix test coverage check.

* Fix import sort order.

* Try fix test code coverage .

* Mock api client for tests.

* Fix typo.

* Fix order of rebased code from dev.

* Add new data point for home power.

* Modifications to review.
Remove service for write access (for first pull request). Refactor
update coordinator to not use the entity API.

* Fixed mock imports.

* Ignore new python module on coverage.

* Changes after review.

* Fixed unit test because of config title.

* Fixes from review.

* Changes from review (unique id and mocking of tests)

* Use async update method. Change unique id. Remove _dict

* Remove _data field.

* Removed login flag from PlenticoreUpdateCoordinator.

* Removed Dynamic SoC sensor because it should be a binary sensor.

* Remove more sensors because they are binary sensors.
2021-04-07 09:18:07 +02:00
J. Nick Koston d417dcb8f4
Bump pysonos to 0.0.42 to fix I/O in event loop (#48743)
fixes #48732

Changelog: https://github.com/amelchio/pysonos/compare/v0.0.41...v0.0.42
2021-04-07 00:15:36 +02:00
Pascal Reeb fb1444c414
Add doorsensor + coordinator to nuki (#40933)
* implemented coordinator + doorsensor

* added async_unload_entry

* small fixes + reauth_flow

* update function

* black

* define _data inside __init__

* removed unused property

* await on update & coverage for binary_sensor

* keep reauth seperate from validate

* setting entities unavailable when connection goes down

* add unknown error when entity is not present

* override extra_state_attributes()

* removed unnecessary else

* moved to locks & openers variables

* removed doorsensorState attribute

* changed config entry reload to a task

* wait for reload
2021-04-06 21:20:57 +02:00
Paulus Schoutsen 42d2039560
Updated frontend to 20210406.0 (#48734) 2021-04-06 20:14:54 +02:00
Erik Montnemery b57d02d786
Bump pychromecast to 9.1.2 (#48714) 2021-04-06 09:55:47 +02:00
Dylan Gore f3399aa8aa
Add a new weather integration - Met Éireann (#39429)
* Added a new weather integration - Met Éireann

* Fix codespell error

* Update met_eireann to use CoordinatorEntity

* Remove deprecated platform setup

* Fix merge conflict

* Remove unnecessary onboarding/home tracking code

* Use common strings for config flow

* Remove unnecessary code

* Switch to using unique IDs in config flow

* Use constants where possible

* Fix failing tests

* Fix isort errors

* Remove unnecessary DataUpdateCoordinator class

* Add device info

* Explicitly define forecast data

* Disable hourly forecast entity by default

* Update config flow to reflect requested changes

* Cleanup code

* Update entity naming to match other similar components

* Convert forecast time to UTC

* Fix test coverage

* Update test coverage

* Remove elevation conversion

* Update translations for additional clarity

* Remove en-GB translation
2021-04-05 23:23:57 +02:00
Raman Gupta d0b3f76a6f
Add ClimaCell v4 API support (#47575)
* Add ClimaCell v4 API support

* fix tests

* use constants

* fix logic and update tests

* revert accidental changes and enable hourly and nowcast forecast entities in test

* use variable instead of accessing dictionary multiple times

* only grab necessary fields

* add _translate_condition method ot base class

* bump pyclimacell again to fix bug

* switch typehints back to new format

* more typehint fixes

* fix tests

* revert merge conflict change

* handle 'migration' in async_setup_entry so we don't have to bump config entry versions

* parametrize timestep test
2021-04-05 13:39:39 -04:00
J. Nick Koston e925fd2228
Add emonitor integration (#48310)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-04 22:11:23 -10:00
J. Nick Koston 32daa63265
Use shared aiohttp.ClientSession in bond (#48669) 2021-04-05 00:12:58 +02:00
Franck Nijhof 9553ae8196
Upgrade wakonlan to 2.0.0 (#48683) 2021-04-04 23:44:43 +02:00
Raman Gupta 95e1daa451
Bump zwave_js dependency to 0.23.1 (#48682) 2021-04-04 16:09:07 -04:00