Commit Graph

3155 Commits (a204d7f807a9fe80ca300ba37af4d1065f69026f)

Author SHA1 Message Date
Brian Towles 9c84c2889f
Modern forms switch platform (#52061)
* Add switch platform to Modern Forms integration

* Add reboot switch

* Update  lib to catch status from switches

* lint ignore

* Removed reboot switch

* bump aiomodernforms for dependency cleanup
2021-06-28 09:47:41 +02:00
SgtBatten bd399d17a7
Add support for 4th fan speed in izone A/C systems (#51969)
* Add TOP fan speed

My a/c is 4 speed and the top speed is reported as top or boost. 

i.e it supports: low med high boost auto

* add support for top fan speed

Aircons with 4 fan speeds. i.e low, med, high, top/boost

* Update manifest.json

Bump version to 1.1.5

* Update climate.py

* Bump Izone to 1.1.5

* Update climate.py

* fix isort failure

* Use v1.1.6

Co-authored-by: Penny Wood <Swamp-Ig@users.noreply.github.com>
Co-authored-by: Swamp-Ig <github@ninjateaparty.com>
2021-06-27 21:13:26 +02:00
avee87 2d1744c573
Add forecasts to MetOffice integration (#50876)
* MetOfficeData now retrieves both 3-hourly and daily data (full forecast data, as well as "now" snapshot) on each update

* Bump datapoint API up to latest version

* Create 2 sets of sensors - one of each set for 3-hourly and for daily data (same ones initially enabled, for now)

* Create two entities (one each for 3-hourly and daily data) and also add in the forecast data for each dataset

* Testing changes to accommodate now having two sets of everything for 3-hourly and daily update data

* Removed unused import (reported by flake8)

* As per conversation with @MatthewFlamm leave the 3-hourly entity's unique_id unchanged (although the display name is changed)

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Added more test coverage

* import asyncio

* Try to fix test

* Rewrote everything using CoordinatorEntity

* Fixed config flow

* Fixed lint errors

Co-authored-by: MrHarcombe <ian.harcombe@gmail.com>
Co-authored-by: Henco Appel <hencoappel+github@gmail.com>
2021-06-27 15:04:42 -04:00
Hristo Atanasov a5362542ad
Bulgarian language added in Google Translate TTS (#51985)
* Added Bulgarian language

Bulgarian language is supported by Google Translate TTS and by gTTS library. Tested all lockally and it works perfect.
https://github.com/pndurette/gTTS

* Bulgarian language added in v2.2.3

* Run script.gen_requirements_all

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 20:55:36 +02:00
Franck Nijhof 75d29b3d9e
Upgrade watchdog to 2.1.3 (#52224) 2021-06-27 16:57:30 +02:00
Daniel Hjelseth Høyer f1b5183e47
Tibber power factor (#52223) 2021-06-27 16:49:22 +02:00
Milan Meulemans 0d6e73236a
Upgrade pyrituals 0.0.3 -> 0.0.4 (#52209) 2021-06-27 14:53:55 +02:00
Klaas Schoute 6b08aebe5f
Add Forecast Solar integration (#52158)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 14:05:04 +02:00
Santobert adade590ed
Bump pybotvac to 0.0.21 (#52166) 2021-06-24 21:29:09 +02:00
Eduard van Valkenburg e21325b975
Fix missing azure event hub instance name (#52049) 2021-06-24 11:24:38 +02:00
Tobias Sauerwein db5bf8ab23
Bump pyatmo version (#52112)
* Bump pyatmo version

* Update tests
2021-06-23 15:51:27 +02:00
Erik Montnemery 04b425ed89
Use HS color instead of RGB color for Tasmota lights (#52052) 2021-06-22 20:40:59 +02:00
Robert Svensson 6814e9607a
Improve deCONZ lights supported_color_modes and tests (#51933)
* Improve deconz lights tests

* Simplify attribute definition

* Bump pydeconz to v80
2021-06-22 19:29:58 +02:00
Maciej Bieniek d08129352f
Bump Nettigo Air Monitor library (#52085) 2021-06-22 15:44:53 +02:00
Otto Winter 03ec7b3d0b
ESPHome rework EsphomeEnumMapper for safe enum mappings (#51975) 2021-06-21 21:22:38 -07:00
Franck Nijhof 23719bbb5e
Upgrade wled to 0.7.0 (#52017) 2021-06-21 09:44:29 +02:00
Jeff Irion b46bcdeeb1
Bump adb-shell to 0.3.4 (#52044)
* Bump adb-shell to 0.3.4

* Bump adb-shell to 0.3.4

* Bump adb-shell to 0.3.4
2021-06-21 08:23:22 +02:00
Steven Looman a127131c1b
Upgrade async_upnp_client to 0.19.0 (#52019) 2021-06-20 18:17:39 +02:00
Matthias Alphart c246e211eb
Update xknx to 0.18.7 (#52000) 2021-06-18 22:22:27 -05:00
Fredrik Erlandsson b2aa55cea2
Bump pydaikin to 2.4.3 (#51926) 2021-06-17 10:58:28 +02:00
Eugenio Panadero b7c1df7864
Adopt new electricity tariffs in pvpc hourly pricing (#51789) 2021-06-17 09:03:28 +02:00
jjlawren d4ac5bf048
Bump plexapi to 4.6.1 (#51936) 2021-06-17 09:02:23 +02:00
Adam Król 986c4a8f29
Support Wolflink reconnection after unexpected failure (#47011)
* Support reconnection after unexpected fails

* Update session at every call. Support Offline devices

* Remove unnecessary else branch

* Clean typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-17 05:24:17 +02:00
Rob Bierbooms ff0c753c87
Bump pyRFXtrx to 0.27.0 (#51911)
* Bump version

* Fix test
2021-06-15 20:34:05 -05:00
Franck Nijhof 37af42e470
Upgrade pillow to 8.2.0 (#51897) 2021-06-15 19:14:57 +02:00
RenierM26 22b8dc16c2
Add services to ezviz integration (#48984)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-15 13:23:32 +02:00
starkillerOG 3a2d50fe23
Add Xiaomi Miio EU gateway support (#47955)
* Add EU gateway support

* add options flow translations

* fix options flow

* fix missing import

* try to fix async_add_executor_job

* try to fix async_add_executor_job

* fix unload

* check for login succes

* fix not reloading

* use cloud option

* fix styling

* Return after if

Co-authored-by: Nathan Tilley <nathan@tilley.xyz>

* cleanup

* add options flow tests

* fix new tests

* fix typo in docstring

* add missing blank line

* Use async_on_unload

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

* Use async_on_unload

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

* Use async_setup_platforms

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

* Use async_unload_platforms

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

* Update homeassistant/components/xiaomi_miio/__init__.py

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

* Update homeassistant/components/xiaomi_miio/const.py

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

* default use_cloud False

* add options flow checks

* fix styling

* fix issort

* add MiCloud check tests

* fix indent

* fix styling

* fix tests

* fix tests

* fix black

* re-write config flow

* add explicit return type

* update strings.json

* black formatting

* fix config flow

Tested the config flow and it is now fully working

* fix styling

* Fix current tests

* Add missing tests

* fix styling

* add re-auth flow

* fix styling

* fix reauth flow

* Add reauth flow test

* use ConfigEntryAuthFailed

* also trigger reauth @ login error

* fix styling

* remove unused import

* fix spelling

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

* Fix spelling

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

* fix spelling

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

* remove unessesary .keys()

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

* combine async_add_executor_job calls

* remove async_step_model

* fix wrong indent

* fix gatway.py

* fix tests

Co-authored-by: Nathan Tilley <nathan@tilley.xyz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-15 00:05:40 +02:00
Malte Franken 7cd57dd156
Bump aio_geojson_geonetnz_quakes to v0.13 (#51846) 2021-06-14 17:29:23 +02:00
Malte Franken 33ec6621c7
Bump georss_ign_sismologia_client to v0.3 (#51838) 2021-06-14 13:51:11 +02:00
Tom Schneider 7e1fec8ee4
Rewrite of Yamaha musiccast integration (#51561)
* Initial commit for new musiccast integration

* Add zone support

* Get/set volume level

* Remove volume step

* Create custom MusicCastData type

* Create MusicCastDevice

* Fix await

* Add power and mute control

* Implement all basic media_player parts

* Support input switching

* Add duration/position support

* Add advanced tuner functions

* Basic media browser

* Add layer in media browser to see all available list_infos

* Added join/unjoin services and group informations. Known issue: You can not link zone 2 to main at the moment (WIP)

* Many fixes to make multiple zones and grouping work. Next step: implement error handling and remove debugging information

* WIP: Added Multizone Support and allows clients to directly jump from one group to another. Known issue: If a server tries to join a group as client, he has to close his group first. Sometimes the device that was a server previously jumps out of the group directly after joining.

* Updated group management to make it wait for the updated group information before performing the next actions - Timeouts after 1 second, then polls the distribution data. If the data are still not updated, there will be one retry before an Exception is thrown. Extended the state attributes for clients to make them return group details from their servers (leads to inactive group management buttons for the client). Added documentation and restructured the code.

* Make the service handle function name for group specific service calls unique

* Added service descriptions for set_sleep_timer, set_alarm, recall_netusb_preset, store_netusb_preset

* Added data entries for alarm specific values and a netusb preset list. Implemented fetching function for clock and netusb presets.

* Registered and implemented services for set_sleep_timer, set_alarm, recall_netusb_preset, store_netusb_preset. The set_alarm service works with a special mediaplayer alarm lovelace card, I am currently working on.
The NetUSB Presets are also available using the media browser. Maybe we could also add the Tuner presets in the future for both setting up the alarm and recalling them via service and media browser.

* Removed some debug prints

* Moved MusicCast Integration to the aiomusiccast library. This library supports media browsers with multiple pages. Added ssdp support for the discovery

* Minor fix in the group management and tidied up a bit

* Updated manifest of yamaha musiccast

* Update library

* Minor fix in the media browser. get_distribution_num does not have to be async, so it has been changed. Adjusted the client join function to turn on the client before joining a group - the musiccast app does so, so hopefully this fixes the rare errors when adding a turned off client to a group. Some reformating and by hooks fixed most of the requirements of the hooks. Known exception from this: mypy throws an error for line 116.

* Removed some old out commented code. Fixed some error handling, when the user enters a non reachable or non yamaha host in the manual setup. Fixed linting/styling errors. Implemented tests to bring the coverage for the config flow to 100%.

* Fixed linting/styling errors. Return a DeviceInfo object instead of a dict.

* Fixed linting/styling errors. Added a new error type to the translations.

* In the yamaha API the system_id is equal to the serial number in the DLNA description. Due to that it was possible to configure a device twice, because the serial number from the yamaha API was different. This issue was fixed.

* Updated tests and added a test for adding a device manually, which is already present in the system

* Remove print statements

* Fix sleep timer service call

* Fix yamllint error

* Shrink PR down to just new library + config flow with discovery

* Add __init__.py to .coveragerc

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>

* Implement suggestions from code review

* Improve identifiers and connections, remove event loop parameter

* Add coordinator back

* Better exception handling

* Fix unique id in ssdp step

* Remove abc.ABC from MusicCasteDeviceEntity

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

* Update homeassistant/components/yamaha_musiccast/config_flow.py

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

* Replace the repeat mode mapping from mc to ha by a generic solution

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

* add coordinator to the super call of the mediaplayer

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

* add the coordinator to the init function of the MusicCastEntity

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

* Pass the coordinator from the MusicCastEntity init function to the CoordinatorEntity init function

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

* merged _handle_config_flow into async_step_user

* reformated the exception handling of the user step. In the case that the device already exists, the AbortFlow will be raised.

* Removed model from the config entry. It was neither set nor used anymore.

* Fixed the test for the config flow.

* Use async_write_ha_state instead of schedule_update_ha_state.

* Add default value for the system ID gotten in the user step

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

* Update tests/components/yamaha_musiccast/test_config_flow.py

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

* Added a fixture to avoid IO in the test_user_input_device_not_found test

* Use absolute imprt to import data_entry_flow.

* Use local vars for host and serial_number in async_step_user.

* Remove ip_address and zone_id properties.

* Use device id for the unique ID of an entity instead of the macs

* Removed entry_id from the MusicCastEntity init function.

* Updated strings and English translation.

* don't set the coordinator in the mediaplayer init.

* Implemented legacy configuration.yaml support for existing configurations.

* Added tests for the newly added config flow step.

* Use device_id as identifier

* Fix an accidentally relative import

* Fix pylint warnings

* use logger.error instead of logger.exception in the import step.

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

* Use CONF_HOST instead of 'host'

* Only support the import from configuration.yaml if no config entries are setup for musiccast. If there are already config entries in HA and none of them is a representation of a config given in configuration.yaml (e.g. config added after the first import), an error will be logged.

* Update homeassistant/components/yamaha_musiccast/media_player.py

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

* Readded PLATFORM_SCHEMA for configuration.yaml

* Raise an exception for all services, which are only supported for specific sources.

* Bump aiomusiccast to 0.6 to support asyncio sockets

Co-authored-by: Michael Harbarth <michael.harbarth@gmx.de>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-14 08:58:42 +02:00
blawford 0709aa7c8c
Pass metadata when casting an app (#51148)
* Pass through metadata when casting an app

* Remove passing kwargs to quick_play

Add metadata to the app_data dict.

* Include pass-through of metadata

* Bump pychromecast to 9.2.0

* Add changes to test to verify metadata

* Fix order of imports
2021-06-14 08:48:32 +02:00
Alexei Chetroi cc622f46c5
Bump up ZHA dependencies (#51765) 2021-06-13 21:53:37 -04:00
Ludovico de Nittis c260fca242
Bump pyialarm to 1.9.0 (#51804) 2021-06-13 21:47:56 -04:00
Jeff Irion 1adeb82930
Bump androidtv to 0.0.60 (#51812)
* Bump androidtv to 0.0.60

* Update requirements_test_all.txt

* Update manifest.json
2021-06-13 18:22:20 +02:00
Fredrik Erlandsson 936f155499
Bump pydaikin, fix airbase issues (#51797) 2021-06-13 11:38:55 +02:00
Franck Nijhof f975beae77
Upgrade wled to 0.6.0 (#51783) 2021-06-12 22:23:12 +02:00
Malte Franken 3276666457
Bump aio_geojson_nsw_rfs_incidents to v0.4 (#51770) 2021-06-12 11:55:32 +02:00
Matthias Alphart 4afe7de07f
xknx 0.18.6 (#51758) 2021-06-12 11:19:05 +02:00
Ron Klinkien f6e0165543
Replace garminconnect_aio with garminconnect_ha (#51730)
* Fixed config_flow for multiple account creation

* Replaced python package to fix multiple accounts

* Replaced python package to fix multiple accounts

* Implemented config entries user

* Config entries user

* Fixed test code config flow

* Fixed patch
2021-06-12 10:05:27 +02:00
Malte Franken be0d9d185b
Bump georss_generic_client to v0.6 (#51745) 2021-06-11 13:30:58 +02:00
Franck Nijhof b165e9f0cf
Upgrade ambee to 0.3.0 (#51676) 2021-06-10 08:16:25 +02:00
jjlawren c512e1df3c
Bump pysonos to 0.0.51 (#51669) 2021-06-09 18:20:28 +02:00
Matthias Alphart 6e20edc30c
Update xknx to version 0.18.5 (#51644)
* xknx 0.18.5

* fix integer DPTs trying to cast str state with `int()`

* Delint

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-09 14:08:29 +02:00
Franck Nijhof d021e593d3
Add Ambee integration (#51645) 2021-06-09 13:22:37 +02:00
Franck Nijhof d0fa4e1d48
Upgrade wled to 0.5.0 (#51632) 2021-06-08 13:38:20 -07:00
Erik Montnemery eb687b7332
Bump hatasmota to 0.2.16 (#51623) 2021-06-08 20:49:13 +02:00
Erik Montnemery 67f3e717a8
Add support for color_mode white to tasmota light (#51608) 2021-06-08 17:43:04 +02:00
J. Nick Koston b3a67a2dd7
Bump sqlalchemy to 1.4.17 (#51593) 2021-06-08 16:53:51 +02:00
Brian Towles 01d4140177
Modern Forms integration initial pass - Fan (#51317)
* Modern Forms integration initial pass

* cleanup of typing and nits

* Stripped PR down to Fan only

* Review cleanup

* Set sleep_time to be required for service

* Adjust minimum sleep time to one minute.

* Code review changes

* cleanup icon init a little
2021-06-08 08:22:50 +02:00
Malte Franken 51fa28aac3
Bump aio_geojson_geonetnz_volcano to v0.6 (#51602) 2021-06-08 07:36:23 +02:00
Malte Franken 490c81aebc
Bump georss_qld_bushfire_alert_client to 0.5 (#51596) 2021-06-08 00:24:54 +02:00
Clifford Roche bc30920824
Correctly support use of Farenheit in Gree Climate component (#50260) 2021-06-08 00:21:03 +02:00
Malte Franken 67d9dc78cb
Bump aio_georss_gdacs to 0.5 (#51577) 2021-06-07 17:57:44 +02:00
Daniel Perna dc9b031544
Update pyhomematic to 0.1.73 (#51551) 2021-06-07 10:04:03 +02:00
Aaron Bach 6a419483de
Bump aiorecollect to 1.0.5 (#51538) 2021-06-06 08:31:11 +02:00
Ludovico de Nittis 62dd9d62cb
Bump pyialarm to 1.8.1 (#51519) 2021-06-05 14:11:39 +02:00
Martin Hjelmare 7a6d067eb4
Bump mcstatus to 6.0.0 (#51517) 2021-06-05 13:26:35 +02:00
Ron Klinkien f2692d4eaa
Bump garminconnect_aio to 0.1.4 (#51507) 2021-06-05 12:07:52 +02:00
uchagani 7bf45f7bf7
Bump islamic-prayer-times to 0.0.5 (#51174)
* Bump islamic-prayer-times to 0.0.5

* update manifest file

* update requirements_all
2021-06-04 20:45:08 +02:00
Franck Nijhof e41e153220
Upgrade elgato to 2.1.1 (#51483) 2021-06-04 09:02:59 -07:00
Aidan Timson 12f2482c9b
Bump aiolyric to 1.0.7 (#51473) 2021-06-04 17:26:44 +02:00
Matthias Alphart e5c70c8789
Update xknx to version 0.18.4 (#51459) 2021-06-04 08:34:16 +02:00
Florent Thoumie 68f6506ff9
Update to iaqualink 0.3.90 (#51452) 2021-06-04 08:32:01 +02:00
Paulus Schoutsen bf3a561149
Bump aiohue to 2.5.1 (#51447) 2021-06-03 17:16:32 -07:00
Bram Kragten 65f23c45a8
Update frontend to 20210603.0 (#51442) 2021-06-03 15:41:59 -07:00
Jc2k 836ce442f7
Bump aiohomekit to 0.2.67 (fixes #51391) (#51418) 2021-06-03 10:51:09 -10:00
Raman Gupta b3327e1656
Bump zwave-js-server-python to 0.26.1 (#51425) 2021-06-03 15:11:45 -04:00
Thomas Schamm 53ae340900
Bumped to boschshcpy==0.2.19 (#51416)
* Bumped to boschshcpy==0.2.19

* update requirements
2021-06-03 18:34:28 +02:00
J. Nick Koston 68714c2067
Update ping to use asyncio function in icmplib (#50808) 2021-06-02 06:10:33 -10:00
gadgetmobile 931ff70ebe
Fix BleBox wLightBoxS and gateBox support (#51367)
Co-authored-by: bbx-jp <83213200+bbx-jp@users.noreply.github.com>
2021-06-02 14:02:37 +02:00
Aaron Bach 101864aab8
Bump pyiqvia to 1.0.0 (#51357) 2021-06-01 20:35:12 -07:00
Martin Hjelmare 783e545a67
Bump hangups to 0.4.14 (#51355) 2021-06-01 22:55:22 +02:00
Bram Kragten bee89a12ec
Update frontend to 20210601.1 (#51354) 2021-06-01 13:35:13 -07:00
Martin Hjelmare 91b6f9d7d0
Bump zwave-js-server-python to 0.26.0 (#51341) 2021-06-01 19:26:54 +02:00
Shay Levy f3715cef6d
Bump aioswitcher to 1.2.3 (#51324) 2021-06-01 13:48:53 +02:00
Bram Kragten 94ae8396dd
Update frontend to 20210601.0 (#51329) 2021-06-01 12:38:49 +02:00
Eugenio Panadero 3d45f00fad
Bump aiopvpc to apply quickfix for new electricity price tariff (#51320)
Since 2021-06-01, the three PVPC price tariffs become one and only: '2.0 TD',
and the JSON schema from the official API (data source of this integration)
is slightly different.

This patch allows a no-pain jump between the old tariffs and the new one.
2021-06-01 09:45:37 +02:00
AJ Schmidt 0e0da26852
update adext dependency (#51315) 2021-06-01 08:44:56 +02:00
Paulus Schoutsen 354dd39f24
Updated frontend to 20210531.1 (#51314) 2021-06-01 01:35:08 +02:00
Jc2k 95362d4215
Bump aiohomekit to 0.2.66 (#51310) 2021-05-31 17:28:14 -05:00
Joakim Plate 6631a4e605
Philips TV ambilight support (#44867) 2021-05-31 14:39:28 -07:00
Ron Klinkien a0b3d0863b
Fix Garmin Connect integration with python-garminconnect-aio (#50865) 2021-05-31 14:38:33 -07:00
J. Nick Koston 0e7c2cddf7
Upgrade HAP-python to 3.5.0 (#51261)
* Upgrade HAP-python to 3.4.2

- Fixes for malformed event sending

- Performance improvements

* Bump

* update tests to point to async
2021-05-31 20:47:12 +02:00
Matthias Alphart 5acc3a1083
xknx 0.18.3 (#51277) 2021-05-31 09:58:48 +02:00
Paulus Schoutsen 7654672dd0
Updated frontend to 20210531.0 (#51281) 2021-05-30 21:04:13 -07:00
Ludovico de Nittis ff6d05a200
Bump pyialarm to 1.7 (#51233) 2021-05-29 18:50:45 +02:00
J. Nick Koston fb50cf9840
Add network and callback support to SSDP (#51019)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-28 21:18:59 -05:00
Nick Whyte 02cbb2025e
Decrease nsw fuel request volume (#49552) 2021-05-28 20:53:20 -05:00
Vilppu Vuorinen 99ee2bd0a3
Update to pymelcloud 2.5.3 (#51043)
Previous version of pymelcloud performs requests that are not permitted
for guest users. Bypassing these requests results only in less detailed
device info.
2021-05-28 16:48:30 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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 084f139a4d
Upgrade praw to 7.2.0 (#50197) 2021-05-07 07:26:21 +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
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
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
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
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
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
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
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