Commit Graph

23215 Commits (4bca9596ee5d0e5af7a4faa1d896fe7e88ecc849)

Author SHA1 Message Date
Allen Porter 6cd18971b1
Propose an integration quality for nest SDM integration (#44755)
* Propose the nest SDM integration is silver quality

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-04 19:45:33 -08:00
TheJulianJES 86154744e4
Implement color mode for ZHA light polling (#44829) 2021-01-04 21:57:05 -05:00
chpego d315ab2cf5
Bump caldav version to 0.7.1 (#44815)
* bump caldav version 0.7.1

* Update requirements_all.txt

* Update requirements_test_all.txt
2021-01-04 16:49:01 -07:00
Mike Keesey 60a1948ab0
Generate switches for harmony activities automatically (#42331)
* Adding switch code for harmony activities

* Working on-off

* Removing poll code for now

* Async updates for current activity

* Update our state based on events

* Notifications we got connected or disconnected

* Remove unncessary constructor arg

* Initial switch tests

* Additional tests for switch transitions

* Test transitions for availability

* Testing switch state changes

* Tests passing

* Final tests

* Updating manifest.

* Correctly mock the return value from a call to the library

* Adding new subscriber classes

* Update class name and location

* Got the refactor working locally.

* Tests passing

* Tracking state changes

* Remove write_to_config_file - this appears to never be read.

It was added far back in the past to account for a harmony library
change, but nothing ever reads that path.

Removing that side effect from tests is a pain - avoid the side effect
completely.

* Connection changes tested

* Clean up temporary code

* Update .coveragerc for harmony component

Specifically exclude untested files instead of the whole module

* Fix linting

* test sending activity change commands by id

* Improving coverage

* Testing channel change commands

* Splitting subscriber logic into it's own class

* Improve coverage and tighten up .coveragerc

* Test cleanups.

* re-add config file writing for harmony remote

* Create fixture for the mock harmonyclient

* Reduce duplication in subscription callbacks

* use async_run_job to call callbacks

* Adding some tests for async behaviors with subscribers.

* async_call_later for delay in marking remote unavailable

* Test disconnection handling in harmony remote

* Early exit if activity not specified

* Use connection state mixin

* Lint fix after rebase

* Fix isort

* super init for ConnectionStateMixin

* Adding @mkeesey to harmony CODEOWNERS
2021-01-04 13:21:14 -10:00
Maciej Bieniek 2e50c1be8e
Add nearest method to get data for Airly integration (#44288)
* Add nearest method

* Add tests

* Move urls to consts

* Simplify config flow

* Fix tests

* Update tests

* Use in instead get

* Fix AirlyError message in tests

* Fix manual update entity tests

* Clean up tests

* Fix after rebase

* Increase test coverage

* Format the code

* Fix after rebase
2021-01-04 23:14:45 +01:00
Shay Levy 76537305e2
Add logbook and device trigger platforms to Shelly (#44020)
* Add logbook and device trigger platforms to Shelly

Add `logbook` platform for describing “shelly.click” event
Add `device_trigger` platform for adding automation based on click events:

Example of logbook event:
Shelly 'single' click event for Test I3 channel 3 was fired.
(Test I3 is the name of the device)

Example of automation triggers:
First button triple clicked
First button long clicked and then single clicked
First button double clicked
First button long clicked
First button single clicked and then long clicked
First button single clicked
Second button triple clicked
..
Second button single clicked

* Fix codespell

* Remove pylint added for debug

* Add tests

* Rebase

* Fix Rebase & Apply PR review suggestions

Fix tests after rebasing
Use `INPUTS_EVENTS_DICT` for input triggers
Apply PR suggestions
2021-01-04 23:10:42 +01:00
J. Nick Koston 773d95251e
Fix zeroconf outgoing dns compression corruption for large packets (#44828) 2021-01-04 21:18:54 +01:00
Aaron Bach 7657a5c901
Move RainMachine services to entity services (#44139) 2021-01-04 20:01:14 +01:00
JeromeHXP cd756f20b1
Updated Ondilo translation files to remove title (#44824) 2021-01-04 19:57:25 +01:00
Joakim Sørensen 766f89f338
Adjust system info for lovelace with multiple dashboards (#44796) 2021-01-04 18:02:46 +01:00
JeromeHXP de780c6d35
Add Ondilo ico integration (#44728)
* First implementationof Ondilo component support

* Update manifest toadd pypi pkg dependency

* Update entities name and corrected refresh issue

* Changed percentage unit name

* Corrected merge issues

* Updated coveragerc

* cleaned up code and corrected config flow tests

* Code cleanup and added test for exisitng entry

* Changes following PR comments:
- Inherit CoordinatorEntity instead of Entity
- Merged pools blocking calls into one
- Renamed devices vars to sensors
- Check supported sensor types
- Stop relying on array index position for pools
- Stop relying on attribute position in dict for sensors

* Corrected unit test

* Reformat sensor type check
2021-01-04 08:09:01 -08:00
Allen Porter c92353088c
Fix Fan support in nest climate by adding HVAC_MODE_FAN_ONLY support (#44203)
* Add HVAC_MODE_FAN_ONLY to nest climate

* Remove unreachable code

* Fix HVAC_FAV_ONLY bug; must also turn off hvac
2021-01-04 16:43:41 +01:00
Joakim Plate c1027cace6
Add device entry id to events (#44407)
* Add device entry id to events

* Only add device id if device is known for now
2021-01-04 15:31:10 +01:00
On Freund e9f7e67f4c
Try to fix flaky Risco test (#44788) 2021-01-04 15:23:47 +01:00
Simone Chemelli 3a32e16f4d
Add myself to codeowners for Shelly (#44814) 2021-01-04 14:14:09 +01:00
Simone Chemelli f07bf6a88e
Cleanup timeouts values for Shelly (#44790)
* Updated timeouts

* Small cleanup

* Fix + small cleanup of test code
2021-01-04 14:04:40 +01:00
Maciej Bieniek f771d8ff14
Change rest sensors update interval for Shelly Motion (#44692)
* Change rest sensors update interval for Shelly Motion

* Cleaning

* Fix typo

* Remove unnecessary parentheses
2021-01-04 13:14:07 +01:00
Kendell R 5b67030c26
Change WHITELIST to ALLOWLIST for websockets (#44766) 2021-01-04 12:40:03 +01:00
Bob Matcuk 0cff069c98
Fix bug with blink auth flow (#44769) 2021-01-04 12:33:34 +01:00
Erik Montnemery 34bd70aee6
Fix race when handling MQTT discovery messages (#44730)
* Fix race when handling MQTT discovery messages

* Lint

* retrigger checks
2021-01-04 12:28:17 +01:00
Daniel Shokouhi 134db3f710
Bump pyobihai (#44768) 2021-01-04 11:46:58 +01:00
J. Nick Koston 12af87bc6e
Add index to old_state_id column for postgres and older databases (#44757)
* Add index to old_state_id column for older databases

The schema was updated in #43610 but the index was not
added on migration.

* Handle postgresql missing ondelete

* create index first
2021-01-04 10:51:44 +01:00
Greg Dowling 3c62c21991
Bumo pyroon version to 0.0.30 (#44800) 2021-01-04 10:31:13 +01:00
Oliver 805a9bcb97
Update to denonavr version 0.9.10 (#44791) 2021-01-04 09:59:08 +01:00
Matthias Alphart ad4804f38a
Fix knx.send service not accepting floats (#44802) 2021-01-04 04:49:29 +01:00
Álvaro Fernández Rojas ec926105a0
Bump PyTado to 0.10.0 (#44770)
* Bump PyTado to v0.10.0

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Tado: switch to getDeviceInfo

This function has been introduced in version 0.10.0 of PyTado.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Tado: update tests

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-01-04 03:53:15 +01:00
Matthias Alphart 2bd8ee34f4
Update xknx to 0.16.0 (#44749)
* update xknx to 0.16.0

* fix telegram in knx_event and knx.send service

* fix knx.send to not coerce floats to int

fixes #44792
also enables strings to be sent

* Revert "fix knx.send to not coerce floats to int"

This reverts commit ac40fb53f9.
2021-01-04 03:07:12 +01:00
migube 10b5912901
Reconnect mochad light on on/off command (#44507) 2021-01-03 20:01:05 +01:00
Will Hughes 1fc4284a29
Add service to lock/unlock Sure Petcare pet flaps (#44557)
* Add service to lock/unlock Sure Petcare pet flaps

Adds a service to the Sure Petcare pet flaps to allow lock, unlocking,
locking in and locking out pets using the pet flap

* Linting

* Changes from code review
2021-01-03 13:43:16 +01:00
dzukero 2ed7b90027
Add RFXtrx Rfy venetian blinds tilt control (#44309)
* Add tilt control for RFXtrx Rfy venetian blinds

* Update Rfy cover test

* Update the required version of pyRFXtrx

* Update required pyRFXtrx version to 0.26.1

* Revert "Update required pyRFXtrx version to 0.26.1"

This reverts commit d54f1645d5.

* Revert "Update the required version of pyRFXtrx"

This reverts commit ac36d65326.

* Update required version of pyRFXtrx to 0.26.1

* @dzukero
Update required version of pyRFXtrx to 0.26.1

* Make requested changes from review

* Fix isort

* Remove set tilt position support

* Remove set tilt position support per review
2021-01-03 12:59:22 +01:00
badguy99 cc21639f00
Fix Soma integration reload (#44750)
* fix async_unload_entry so that component reload works from GUI

* update to use asyncio based on review feedback
2021-01-02 18:38:45 -08:00
Joakim Plate 3de0610909
Support google assistant stopping for assumed state covers (#44266)
* Support stopping for assumed state covers

* Adjust black formatting
2021-01-02 23:01:20 +01:00
Álvaro Fernández Rojas 067f2d0098
Add tado zone binary sensors (#44576)
These should be binary sensors.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-01-02 13:35:59 +01:00
Will Hughes a6e474c7c9
Update surepy to v0.4.0 (#44556)
* Update surepy to v0.4.0

* Clarify pylint disable

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-02 03:52:33 +01:00
Allen Porter 321c0a87ae
Resolve nest pub/sub subscriber token refresh issues (#44686) 2021-01-02 01:51:01 +01:00
Paulus Schoutsen a2ca08905f
Guard unbound var for DSMR (#44673) 2021-01-02 01:34:10 +01:00
Franck Nijhof 508d33a220
Remove deprecated PTVSD integration (#44748) 2021-01-01 23:36:15 +01:00
Paulus Schoutsen 2b0556520b
Catch Shelly zeroconf types with uppercase too (#44672)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-01-01 20:54:43 +01:00
Martin Hjelmare c7fa98211d
Bump locationsharinglib to 4.1.5 (#44742) 2021-01-01 19:48:33 +01:00
J. Nick Koston 661eb0338a
Fix templates for rest notify (#44724) 2021-01-01 19:28:20 +01:00
Franck Nijhof 5c634ac8bb
Upgrade debugpy to 1.2.1 (#44737) 2021-01-01 17:59:05 +01:00
Franck Nijhof ea10f96bf7
Upgrade sentry-sdk to 0.19.5 (#44738) 2021-01-01 17:58:13 +01:00
Daniel Perna e2e79aba4e
Update pyhomematic to 0.1.71 (#44732) 2021-01-01 17:20:55 +01:00
Sian 52e1aad008
Correct Dyson climate fan auto mode (#44569)
Co-authored-by: Justin Gauthier <justin@justin-tech.com>
2021-01-01 16:06:36 +01:00
Chris 176415b045
Fix AccuWeather condition mapping (#44710) 2021-01-01 15:40:28 +01:00
Franck Nijhof 1f0a6b178e
Fix Gree climate turn on/off (#44731) 2021-01-01 15:11:25 +01:00
Clifford Roche f0e96f739b
Add turn_on and turn_off to gree climate component (#43207) 2021-01-01 13:58:38 +01:00
Fabian Affolter ddfc3d6d8e
Upgrade volkszaehler to 0.2.1 (#44703) 2021-01-01 13:49:57 +01:00
Fabian Affolter 168b3ae6af
Upgrade alpha-vantage to 2.3.1 (#44705) 2021-01-01 13:48:24 +01:00
Franck Nijhof 2f486543df
Drop Python 3.7 support (#43805) 2021-01-01 13:47:01 +01:00
Raman Gupta b651f63ef0
Suppress vizio logging API call failures to prevent no-op logs (#44388) 2021-01-01 13:35:05 +01:00
J. Nick Koston 94825b3e15
Do not restore unavailable state for august locks (#44722) 2021-01-01 12:44:53 +01:00
J. Nick Koston 681f76b99d
Fix rest notify GET without params configured (#44723) 2021-01-01 12:40:08 +01:00
Fabian Affolter 5e0eea21d4
Upgrade pyowm to 3.1.1 (#44706) 2020-12-31 20:02:59 -10:00
Fabian Affolter 99eed915d6
Upgrade slixmpp to 1.6.0 (#44693) 2020-12-31 19:35:42 -10:00
Jason Cronquist 787027958d
Use the async_call context in result of call_service (#44458) 2020-12-31 16:15:39 -10:00
hung2kgithub db6bd22fc9
Add Chinese (Hong Kong) to Google Cloud TTS (#44689) 2021-01-01 01:59:42 +01:00
Oncleben31 41ebfcdc9e
Add device info to Météo-France (#44457) 2021-01-01 01:51:03 +01:00
Fabian Affolter 12b7b2098d
Upgrade sqlalchemy to 1.3.22 (#44698) 2020-12-31 14:28:15 -10:00
Glenn Waters edee0682ba
Bump upb-lib to 0.4.12 (#44721) 2021-01-01 00:48:44 +01:00
Glenn Waters 74b480e9d4
Bump elkm1-lib to 0.8.10 (#44714) 2020-12-31 23:44:04 +01:00
Allen Porter fe9a254017
Fix legacy nest api binary_sensor initialization (#44674) 2020-12-31 19:22:24 +01:00
Ville Skyttä 1c8fbc7e6a
Upgrade codespell to 2.0.0 (#44695)
* Upgrade codespell to 2.0.0

* Fix newly found spelling errors
2020-12-31 19:14:07 +01:00
Mike Keesey cdda5900e5
Upgrade pubnubsub-handler to 1.0.9 (#44542)
This resolves an error thrown on shutdown of the wink component
2020-12-31 18:48:36 +01:00
Alexei Chetroi 64dd748330
Bump up ZHA dependencies (#44680)
- zigpy == 0.29.0
- zigpy_deconz == 0.11.1
- zha-quirks == 0.0.51
2020-12-31 14:07:15 +01:00
Franck Nijhof 408da3600b
Upgrade feedparser to 6.0.2 (#44683) 2020-12-31 12:00:43 +01:00
Martin Hjelmare 4bde0640d6
Bump pytradfri to 7.0.6 (#44661) 2020-12-31 01:18:58 +01:00
Mark Allanson 1428c403ba
Upgrade canary integration to use py-canary 0.5.1 (#44645)
Fixes #35569
2020-12-31 01:16:53 +01:00
Paulus Schoutsen c7bf7b32a2
Zeroconf lowercase (#44675) 2020-12-31 01:06:26 +01:00
Diogo Gomes b290a8b5a1
always sync unit_of_measurement (#44670) 2020-12-31 00:39:14 +01:00
Maciej Bieniek 687f90e164
Add motion binary sensor (#44445) 2020-12-31 00:02:56 +01:00
Ville Skyttä da66a4e933
Device automation config error message improvements (#44656)
Refs #44654, #44655
2020-12-31 00:02:14 +01:00
J. Nick Koston e2964ca878
Update py-august to 0.25.2 to fix august token refreshes (#40109)
* Update py-august to 0.26.0 to fix august token refreshes

* bump version
2020-12-30 23:10:42 +01:00
Franck Nijhof b1bb0d12c9
Upgrade vsure to 1.6.1 (#44657) 2020-12-30 23:06:30 +01:00
J.P. Krauss e37bb51320
Add AirNow Integration (#40091) 2020-12-30 20:25:57 +01:00
Daniel Lintott 15a4e1e1b3
Bump zm-py version to 0.5.2 (#44658) 2020-12-30 10:15:27 -08:00
zewelor 16ddbb95f4
Add yeelight service to enable disable music mode (#44533)
* Add service to enable / disable music mode

* Black reformat

* Update test

* Fix tests

* Revert consts cleanup

* Use entity method as service call

* Use ATTR for service call

* Sort

* Add tests

* Fix isort

* Fix print

* Black
2020-12-30 17:00:28 +01:00
David F. Mulcahey a6c83cc46a
Bump ZHA quirks version to 0.0.50 (#44650) 2020-12-30 09:11:08 -05:00
Fabian Affolter e2e07cf42e
Upgrade sendgrid to 6.4.8 (#44646) 2020-12-30 13:33:13 +01:00
Fabian Affolter 6e5e45b937
Upgrade youtube_dl to 2020.12.29 (#44643) 2020-12-30 11:24:00 +01:00
Simone Chemelli 338938a38e
Fix shelly shutdown AttributeError (#44172)
* Additional check for clean shutdown

* Changed approach

* Remover leftover

* Added callback key

* Moved to listen once
2020-12-30 10:29:54 +01:00
Allen Porter baacf2cd7d
Publish timestamps in nest events (#44641) 2020-12-30 10:23:48 +01:00
Fabian Affolter a212248f8d
Upgrade psutil to 5.8.0 (#44640) 2020-12-30 10:22:09 +01:00
Franck Nijhof ee194b9411
Initial Verisure cleanups (#44639) 2020-12-30 09:55:18 +01:00
Phil Cole 9cc768b34c
Bump pycarwings2 to 2.10 (#44634) 2020-12-30 09:44:44 +01:00
Chris Talkington 12aa537eb9
Support homekit discovery for roku (#44625)
* support homekit discovery for roku

* Update config_flow.py

* Update config_flow.py

* Update test_config_flow.py

* Update __init__.py

* Update __init__.py

* Update strings.json

* Update manifest.json

* Update __init__.py

* Update test_config_flow.py

* Update __init__.py

* Update manifest.json

* Update config_flow.py

* Update config_flow.py

* Update __init__.py

* Update test_config_flow.py

* Update __init__.py

* Update manifest.json

* Update __init__.py

* Update zeroconf.py

* Update config_flow.py

* Update test_config_flow.py

* Update config_flow.py

* Update test_config_flow.py

* Update __init__.py

* Update config_flow.py

* Update test_config_flow.py

* Update manifest.json

* Update zeroconf.py
2020-12-29 20:43:02 -06:00
michaeldavie 35a19a4d02
Bump env_canada to 0.2.5 (#44631) 2020-12-30 02:54:04 +01:00
Matt Bilodeau a750c95d2e
Add OutdoorPlug to wemo (#44629) 2020-12-30 02:43:44 +01:00
Bram Kragten 62237adf91
Updated frontend to 20201229.0 (#44632) 2020-12-30 00:19:38 +01:00
J. Nick Koston 035f9412ba
Fix template triggers from time events (#44603)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-12-29 23:16:39 +01:00
starkillerOG e287160f72
Add discovery to Motion Blinds (#44615)
* Add discovery to Motion Blinds

* Update test_config_flow.py

* ommit keys()

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* use _ to indicate private variables

* disregard changes to en.json

* remove unused errors

* clearify multicast=None

* improve tests

* make self._key a local variable

* fix styling

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2020-12-29 11:13:31 -08:00
Mister Wil 85d89c16ab
Bump skybellpy to 0.6.3 (#44619) 2020-12-29 17:48:36 +01:00
starkillerOG 24f6f59eb4
Use entity service for motion blinds (#44611)
* Simplify motion blinds service
* Switch to using entity service
2020-12-29 07:21:51 -08:00
J. Nick Koston 4905be0c40
Move HomeKit autostart to advanced options flow (#44599) 2020-12-29 13:54:24 +01:00
Tsvi Mostovicz c756457aa1
Fix typo in sensor names (#44598)
Fixes home-assistant/core#44464
2020-12-29 13:40:52 +01:00
starkillerOG 598202da07
Simplify motion blinds push callback (#44579) 2020-12-29 12:11:08 +01:00
rikroe e5f31665b1
Add Config Flow to bmw_connected_drive (#39585)
* Add Config Flow to bmw_connected_drive

* Fix checks for bmw_connected_drive

* Adjust code as requested

* Clean .coveragerc after merge

* Use references for config flow

* Fix execute_service check against allowed accounts

* Adjust translation as username can be email or phone no

* Add BMWConnectedDriveBaseEntity mixin, remove unnecessary type casts

* Use BaseEntity correctly, fix pylint error

* Bump bimmer_connected to 0.7.13

* Adjustments for review

* Fix pylint

* Fix loading notify, move vin to entity attrs

* Remove vin from device registry

* Remove commented-out code

* Show tracker warning only if vehicle (currently) doesn't support location

* Remove unnecessary return values & other small adjustments

* Move original hass_config to own domain in hass.data

* Move entries to separate dict in hass.data

* Remove invalid_auth exception handling & test as it cannot happen

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2020-12-29 11:06:12 +01:00
Greg 5164a18d53
Bump version to fix returned data for old firmware (#44600) 2020-12-28 15:13:11 -10:00
Greg a5cd4efd83
Optimize api calls between envoy_reader and Home Assistant (#42857)
* Updating sensor to use single API call

* Updated comment

Updated comment to reflect that polling is needed.

* Reduced calls to single API call

* Added except handling and increased async timeout

* Cleaned up some comments

* Added error handling

* Added last_reported date for inverters

* Added message during failed update

* Added retries to update function

* Updated update function

* Reformatted sensor.py with black

* Increased default scan period

* fixed timedelta typo

* importing CoordinatorEntity

* Check during setup else raise PlatformNotReady

* Removed async_update and override state

* using SCAN_INTERVAL constant

* fixed typo

* removed unused constant

* Removed retry logic

* Changed to catching exceptions rather than strings

* shortened string split line

* Replace requests_async with httpx

* Bump envoy_reader version to 0.17.2

* Resolving comments from PR requested changes

* Fixed typo in scan_interval

* Removed period from logging messages

* Bumping envoy_reader to 0.18.0

* Incorporating suggested changes

* Removing no longer used try/except

* Fail setup if authentication fails

* Bump envoy_reader to 0.18.2
2020-12-28 23:58:09 +01:00
mvn23 0d8ed9061c
Update pyotgw to 1.0b1 (#43352)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-28 23:04:17 +01:00
Clifford Roche ee97023053
Add support for Gree device light panels (#42979) 2020-12-28 22:32:04 +01:00
starkillerOG a22d9e54db
Improve TDBU motion blinds control (#44500)
* improve TDBU motion blinds control

* Simplify service registration
2020-12-28 13:09:53 -08:00
TheJulianJES 0bc04a6501
Reset hs color/color temperature when changing the other one (ZHA) (#44566) 2020-12-28 14:05:15 -05:00
Philip Allgaier 392c058d34
Ensure consistent spelling of "ID" (#44585) 2020-12-28 18:34:08 +01:00
Anton Tolchanov 13d6f5454d
Turn on denonavr receiver when a source is changed (#44473) 2020-12-28 18:12:49 +01:00
badguy99 d95696e4f5
Soma cover battery level attribute (#44459) 2020-12-28 17:10:49 +01:00
Álvaro Fernández Rojas 50e11773ee
Tado: use proper variable name to avoid confusion (#44571)
Current device_id variable refers to the Home ID obtained from the Tado API.
Let's use home_id in order to avoid confusion with Tado devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-12-28 14:57:51 +01:00
Erik Montnemery ed576edde7
Fix Tasmota device triggers (#44574) 2020-12-28 14:41:39 +01:00
Allen Porter 71af0fac16
Improve nest setup error handling (#44385)
* Improve error handling user experience

This is meant to make the nest integration quieter.  Exceptions are handled with a single log error message.


Co-authored-by: j-stienstra <65826735+j-stienstra@users.noreply.github.com>
2020-12-27 20:30:51 -08:00
Álvaro Fernández Rojas 6d043f2ca1
Tado: add full list of devices (#44475)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-12-27 16:36:35 +01:00
Allen Porter 51b88337ca
Simplify nest event handling (#44367)
* Simplify nest event handling

Use device specific update callbacks rather than a global callback.
The motivation is to prepare for a follow up change that will store
camera specific event tokens on the camera itself, so that a service
can later fetch event specific image snapshots, which would be difficult
to send across the event bus.

* Increase nest camera test coverage

* Remove unnecessary device updates for nest cameras

* Remove unused imports

* Fix device id check to look at returned entry

* Remove unused imports after rebase

* Partial revert of nest event simplification

* Push more update logic into the nest library

* Revert nest device_info changes

* Revert test changes to restore global update behavior

* Bump nest library version to support new callback interfaces
2020-12-27 09:49:22 +01:00
Rob Bierbooms 9531b08f2a
Add explicit support for Luxembourg Smarty meter in dsmr integration (#43975)
* Add support for Luxembourg Smarty meter

* Add config flow test

* Add sensor tests
2020-12-27 09:39:36 +01:00
Tim van Cann 1f27fb4644
Fully remove Avri integration (#44478)
* Fully remove Avri integration

* Remove avri from .coveragerc
2020-12-27 09:30:20 +01:00
aque0us 71c9007e06
Add Olivia voice to Amazon Polly TTS (#44513)
* Update tts.py

Added Olivia Neural Voice

* Correct linting

Co-authored-by: Joakim Plate <elupus@ecce.se>
2020-12-27 08:32:22 +01:00
Robert Svensson 49d9823630
Bump pydeconz to version 77 (#44514) 2020-12-26 22:24:05 +01:00
Martin Weinelt f8df8b6b19
Add album art support in the mpd component (#44527)
* Add album art support in the mpd component

Uses `readpicture` to retrieve embedded artwork and `albumart` to
acquire cover art located in the media directory.

As the mpd component supports multiple different implementations (think
mopidy, PI MusicBox, etc.) we check for the availability of each command
before using them.

Tested against mpd 0.22.3, which includes support for both.

* fixup! Add album art support in the mpd component
2020-12-26 22:18:28 +01:00
MatthewFlamm f8ab98d2e1
Fix falsey comparisons in NWS weather (#44486) 2020-12-26 13:53:34 +01:00
Ville Skyttä cfb02b5392
Upgrade huawei-lte-api to 1.4.17 (#44499)
Mostly to pave way for implementing network connection mode change
services, such as PR #44380.

https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.13
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.14
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.15
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.16
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.17
2020-12-26 12:49:44 +01:00
Thibaut dc79d71f39
Handle missing Somfy devices during update (#44425)
* Handle missing devices during update

* Raise error only if there was devices previously

* Not final dot

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-12-25 22:29:23 +01:00
Martin Weinelt fa69daf5b3
Convert mpd component to use the async MPDClient (#44384)
Upgrades python-mpd2 to 3.0.1.
2020-12-25 21:49:30 +01:00
Matt Bilodeau adf4eb0cc9
Bump pywemo to 0.5.6 (#44440) 2020-12-25 16:37:30 +01:00
Nick 9a5132054f
Support auto as Dyson fan on device state (#44472)
* - Make the dyson integration report that the fan is on if its in AUTO or FAN states instead of only in FAN state

* - Fix code style issue to be compliant with flake8
2020-12-25 14:49:14 +01:00
HomeAssistant Azure 6f2ed86c49 [ci skip] Translation update 2020-12-25 00:03:46 +00:00
Thibaut 19b957cd84
Remove useless async_add_executor_job (#44496) 2020-12-24 20:42:56 +01:00
Tomasz Pieczykolan d385a51653
Fix the docstring in type_fans.py (#44511) 2020-12-24 20:40:30 +01:00
Eric Severance d912e91e81
Periodically attempt to discover new wemo devices (#44361)
* Periodically attempt to discover new wemo devices

* Set self._stop=None after stopping the periodic discovery task

* Use the async_fire_time_changed test helper to simplify test_discovery

* Stop the pywemo registry outside of the async loop

* Add a comment describing why async_fire_time_changed is used
2020-12-24 12:25:14 +01:00
J. Nick Koston 677fc6e2bb
Translate siri requests to turn on thermostats to valid targets (#44236)
Siri always requests auto mode even when the device does not
support auto which results in the thermostat failing to turn
on as success is assumed.  We now determine the heat cool
target mode based on the current temp, target temp, and
supported modes to ensure the thermostat will reach the
requested target temp.
2020-12-23 17:23:26 -10:00
Diogo Gomes 2d131823ce
Fix filter sensor None state (#44439)
Co-authored-by: Franck Nijhof <frenck@frenck.dev>
2020-12-24 02:24:11 +01:00
HomeAssistant Azure 6b743c3d16 [ci skip] Translation update 2020-12-24 00:03:44 +00:00
starkillerOG 82f9de31b1
Motion Blinds upgrade to local push (#44391)
* Motion Blinds upgrade to local push
2020-12-23 15:15:11 -08:00
Dermot Duffy 769513d6a8
Bump hyperion-py to 0.6.1 (#44490) 2020-12-23 21:46:04 +01:00
HomeAssistant Azure 139fb518d6 [ci skip] Translation update 2020-12-23 00:03:22 +00:00
Allen Porter 24ccdb55bb
Move Legacy Works With Nest integration to subdirectory (#44368)
* Move Legacy Works With Nest integration to subdirectory

Motivation is to streamline the actively developed integration e.g. make code coverage easier to reason about and simplify __init__.py
2020-12-22 12:42:37 -08:00
PhiBo ffbef0bcd1
Fix KNX issue if 0 kelvin is reported by device (#44392)
Co-authored-by: Matthias Alphart <farmio@alphart.net>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-12-22 13:28:37 +01:00
Matthias Alphart 67ed730c08
KNX BinarySensor takes float values for `reset_after` (#44446) 2020-12-22 12:39:50 +01:00
On Freund d4453908d5
Fix Volumio pause with missing track type (#44447) 2020-12-22 12:32:56 +01:00
HomeAssistant Azure 2ee2f85574 [ci skip] Translation update 2020-12-22 00:06:12 +00:00
Joakim Plate 56b3e0b52e
Support area on entities for google assistant (#44300)
* Support area on entities

* Don't let registry area override config
2020-12-21 21:55:06 +01:00
treylok 1ca99c4fa4
Add ecobee humidity attributes (#44366)
* Update humidity attributes.

* Update climate.py

* Raise ValueError

* Update conditions for humidity controls to show

Humidity controls only show when the humidifier mode is in "manual" mode.
2020-12-21 20:03:26 +01:00
Emily Mills f89c682ea6
Cleanup and optimization for Zerproc (#44430)
* Cleanup and optimization for Zerproc

* Remove unnecessary extra method

* Add debug log for exceptions on disconnect
2020-12-21 12:50:31 -06:00
Diogo Gomes cb82f5159e
Reduce IPP errors when printer is offline (#44413) 2020-12-21 16:53:47 +01:00
Oliver 0b1791c293
Update denonavr to 0.9.9 (#44411) 2020-12-21 16:35:47 +01:00
Oncleben31 369cf10eb3
Bump meteofrance-api to 1.0.1 (#44389) 2020-12-21 13:49:53 +01:00
HomeAssistant Azure f3cabe97e0 [ci skip] Translation update 2020-12-21 00:04:09 +00:00
Дубовик Максим 89fe232643
Add google cloud tts SSML + fix (#40203)
* Add SSML + fix

SSML option is added + pitch paramter fix + couple style code changes

* Remove redundant .get()

* Fix PITCH_SCHEMA, remove redundant .get of dict
2020-12-20 05:40:43 +01:00
JJdeVries 1ae3bb6af5
Add xiamoi_miio the water_box / mop status (#43355)
* Adding the water_box / mop status

* Clean up

Co-authored-by: Teemu R. <tpr@iki.fi>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Teemu R. <tpr@iki.fi>
2020-12-20 05:13:52 +01:00
Arto Jantunen 5dc48df093
Add support for toggling Daikin streamers (#40418)
* pydaikin version bump to 2.4.0

Add support for controlling the streamer feature.

* Add switch for toggling Daikin streamer on and off

* Have DaikinStreamerSwitch inherit from SwitchEntity instead of ToggleEntity
2020-12-20 04:53:01 +01:00
Allen Porter 81341bbf91
Handle expiration of nest auth credentials (#44202)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-20 01:41:29 +01:00
HomeAssistant Azure 5bdf022bf2 [ci skip] Translation update 2020-12-20 00:04:36 +00:00
Sjack-Sch 00c0e9b8da
Home connect functional and ambient light added (#44091)
* Update nl.json

* added period to end of every logging entry.

* Functional and ambient light added

* Change to dict.get method

* Update light.py

* Update __init__.py

Platforms sorted 🔡.

* Update api.py

- Removed all none light platform related changes.
- Period removed from loggin.
- Storing entities removed.
- Not needed formating change reverted.
-

* Update const.py

All words seperated with underscore.

* Update nl.json

Reverted change on translation file.

* Update light.py

-All words of constants seperated with underscore.
- f-string used iso concatenation.
- Added "ambient"to loggin text.
- Removed self._state = false when color setting did not succeed.
- Logging starts with a capital.

* Update api.py

- Removed ending perio in logging
- Reverted formating
- Removed self.device.entities.append(self)
-

* Update entity.py

- Removed self.device.entities.append(self)

* Update api.py

- Adding newline at end of file
- Added whitespave after ","

* Update api.py

Newline at end of file

* Update const.py

Removed unused.

* Update light.py

- seperated words with whitespaces
- improved debug text

* Update light.py

remove state setting after an error
2020-12-19 23:40:44 +01:00