Commit Graph

34073 Commits (4f32a329a794e5dae4b0745a4e505fb3e8d5d876)

Author SHA1 Message Date
Allen Porter 17fbfe2eed
Set a suggested_area on nest devices based on the Google Home room name (#62871) 2021-12-27 11:39:57 -08:00
corneyl 7fc5605639
Fix keyerror when no previous Picnic orders exist (#62870) 2021-12-27 20:31:35 +01:00
Alberto Geniola 1f425b1942
Improve Elmax code quality (#61273)
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 19:50:43 +01:00
G Johansson 0d957ad93b
Code improvements Sensibo (#62810) 2021-12-27 08:34:00 -10:00
Mick Vleeshouwer 089dcb2b22
Address feedback to Overkiz integration (#62841) 2021-12-27 18:26:55 +01:00
Dave T 8fd60dbd51
Refactor entity_category str types (#62790) 2021-12-27 18:23:08 +01:00
epenet 377b0efc60
Add basic type hints to ffmpeg (#62744)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-27 17:56:13 +01:00
Tobias Sauerwein 2c904c0974
Bump mypy to 0.930 (#62642)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 17:55:17 +01:00
corneyl b0704c190f
Fix picnic sensor time unit (#62437) 2021-12-27 17:44:45 +01:00
Christopher Bailey dc3f21dd1e
Followup PR for UniFi Protect integration (#62806)
* Followup improvements from initial PR

* Update tests/components/unifiprotect/conftest.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update translations

* Fixes log message

* Fixes log message

* Unknown to cannot connect

* Update tests/components/unifiprotect/test_config_flow.py

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

* Fixes camera coverage

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 12:39:24 +01:00
Mick Vleeshouwer cf6fb7bf39
Add light entity to Overkiz integration (#62835) 2021-12-27 12:35:59 +01:00
gjong 35bb19b4eb
Upgrade youless library to version 0.16 (#62837) 2021-12-27 12:32:25 +01:00
kpine 22e475790f
Avoid removing zwave_js devices for non-ready nodes (#59964)
* Only replace a node if the mfgr id / prod id / prod type differ

* Prefer original device name for unready node

* move register_node_in_dev_reg into async_setup_entry

* simplify get_device_id_ext

* Don't need hex ids

* Revert "move register_node_in_dev_reg into async_setup_entry"

This reverts commit f900e5fb0c67cc81657a1452b51c313bccb6f9e1.

* Revert Callable change

* Revert device backup name

* Add test fixtures

* Update existing not ready test with new fixture data

* Check device properties after node added event

* Add entity check

* Check for extended device id

* better device info checks

* Use receive_event to properly setup components

* Cleanup tests

* improve test_replace_different_node

* improve test_replace_same_node

* add test test_node_model_change

* Clean up long comments and strings

* Format

* Reload integration to detect node device config changes

* update assertions

* Disable entities on "value removed" event

* Disable node status sensor on node replacement

* Add test for disabling entities on remove value event

* Add test for disabling node status sensor on node replacement

* disable entity -> remove entity

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 12:31:31 +01:00
Kristján Bjarni 38723b277e
Added XML RSS as Content-Type (#62822) 2021-12-27 10:49:38 +01:00
Phil Cole a17fffbfc2
Update to pycarwings 2.13 (#62821) 2021-12-27 10:42:00 +01:00
J. Nick Koston 7a46e04fd1
Remove unused homekit.start service (#62827) 2021-12-27 10:12:02 +01:00
Michael a721927b9a
Use ConfigEntryDisabler enum (#62816) 2021-12-27 10:08:29 +01:00
J. Nick Koston 417172eef2
Cleanup HomeKit names to avoid unknown error when adding (#62831) 2021-12-27 09:53:33 +01:00
flfue a3e526d6cf
Add return for certified devices to not apply availability check (#62728) 2021-12-26 23:31:51 -08:00
GitHub Action e00406c7b8 [ci skip] Translation update 2021-12-27 00:40:55 +00:00
Ville Skyttä 6f1675944e
Add huawei_lte hardware version (#62773) 2021-12-26 10:36:00 -10:00
Simone Chemelli c07077833f
Add missing entity category for gen2 devices (#62812) 2021-12-26 22:26:24 +02:00
Thomas Schamm 746aa948bb
Bumped boschshcpy 0.2.27 to 0.2.28 (#62778) 2021-12-26 07:53:40 -10:00
uvjustin 08a3140e6c
Allow generic camera conf without still_image_url (#62611)
* Allow generic config with no CONF_STILL_IMAGE_URL
* Use Stream.async_get_image when no CONF_STILL_IMAGE_URL
* Remove GenericCamera.camera_image
2021-12-26 15:53:14 +08:00
Ville Skyttä 3e3fb52dfa
Huawei LTE simplifications (#62770)
* Use enum types rather than strs in sensor type hints

* Name sensor meta fields same as in SensorEntityDescription

* Make integration shared state a NamedTuple

* Use dataclasses instead of attr
2021-12-26 09:17:59 +02:00
Christopher Bailey e982e7403a
Add unifiprotect integration (#62697)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-25 20:12:57 -10:00
Allen Porter c54439ef42
Bump google-nest-sdm to 1.0.0 (#62783)
* Bump google-nest-sdm to 1.0.0

See release log in https://github.com/allenporter/python-google-nest-sdm/compare/0.4.9...1.0.0

* Remove typing ignore now that typing is fixed
2021-12-25 21:47:45 -08:00
GitHub Action cc92aa557a [ci skip] Translation update 2021-12-26 00:15:41 +00:00
Franck Nijhof 7d7f5272fe
Add device info to Luftdaten (#62692) 2021-12-25 10:52:31 +01:00
Raman Gupta 639181108f
Add zwave_js support for Fortrezz SSA3 (#62765) 2021-12-25 10:33:20 +01:00
GitHub Action 8c8c7e91a2 [ci skip] Translation update 2021-12-25 00:13:29 +00:00
David F. Mulcahey 0062676f61
Add lqi and rssi sensors back to ZHA (#62716)
* update device list

* Only 1 identify button per device

* Add LQI and RSSI sensors to ZHA

* refactor entity creation filter

* update device list and update discover test

* fix reference

* code reduction

* walrus

* parens

* simplify
2021-12-24 16:48:02 -05:00
Evgeny 64d1a7382f
Bump roombapy to 1.6.4 (#62741) 2021-12-24 10:34:49 -10:00
Eric Severance a1be11a492
Store wemo device sw_version & upnp connections (#62758) 2021-12-24 10:31:42 -10:00
Mick Vleeshouwer c37077aa9b
Add number entity to Overkiz integration (#62732) 2021-12-24 10:29:51 -10:00
uvjustin 9dbba6b7f2
Use lock in Camera.create_stream (#62757)
Rename create_stream to async_create_stream in Camera
Rename get_image to async_get_image in Stream
Rename get_image to async_get_image in KeyFrameConverter
2021-12-25 04:14:43 +08:00
Franck Nijhof 78cc5f8d43
Upgrade vehicle to 0.3.1 (#62747) 2021-12-24 19:59:37 +01:00
Lorenzo Brescanzin 0da710c4e0
Fix HomeKit sensor update check (#62705) 2021-12-24 08:39:37 -10:00
epenet 6ffd587788
Add basic type hints to ads (#62738)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 14:25:10 +01:00
epenet 6dcec898c4
Add basic type hints to abode (#62730)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 14:06:14 +01:00
epenet 3e567959f7
Add basic type hints to advantage_air (#62737)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 13:45:42 +01:00
J. Nick Koston 1d0036b86a
Bump zeroconf to 0.38.1 (#62720) 2021-12-24 13:26:07 +01:00
Brian Egge 27e3a5ba83
Generic thermostat presets (#56080)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-23 14:29:29 -10:00
Mick Vleeshouwer fb04b19960
Add button entity to Overkiz integration (#62719) 2021-12-23 14:21:47 -10:00
GitHub Action f07030c425 [ci skip] Translation update 2021-12-24 00:13:45 +00:00
Mick Vleeshouwer f722931920
Add lock entity to Overkiz integration (#62713) 2021-12-23 13:28:01 -10:00
David F. Mulcahey 41531b528e
Add identify buttons to ZHA devices (#61495)
* Identify buttons

* clean up and add test

* use Platform

* update device list

* Only 1 identify button per device

* cleanup press until the need arises for the branch

* make imports relative
2021-12-23 17:52:42 -05:00
ollo69 bbebf311b1
Review AndroidTV option flow strings (#62601)
Co-authored-by: Jeff Irion <JeffLIrion@users.noreply.github.com>
2021-12-23 12:43:30 -10:00
J. Nick Koston 20e6b50003
Bump yalexs to 1.1.16 (#62700) 2021-12-23 21:08:38 +01:00
Joakim Sørensen 13e3ca6ab1
Add config flow to version integration (#54642) 2021-12-23 21:04:58 +01:00
G Johansson 0ec2978698
Add DeviceInfo to Sensibo (#62668) 2021-12-23 21:02:24 +01:00
Ruslan Sayfutdinov 55f4962c06
Fix pylint plugin which checks relative imports (#62693) 2021-12-23 11:14:47 -08:00
jjlawren 00307e1ade
Bump soco to 0.25.2 (#62691) 2021-12-23 11:07:29 -08:00
Ed Coen df6fa43bff
Add connectsense to homekit_controller (#62675) 2021-12-23 19:05:36 +00:00
Mick Vleeshouwer 3605c4f32f
Add Overkiz integration (with base + sensor entity) (#62640) 2021-12-23 08:34:35 -10:00
Eugenio Panadero f422dd418b
Fix pvpc_hourly_pricing by changing data source and modernise integration (#62591) 2021-12-23 17:08:40 +01:00
Erik Montnemery c1ada1754f
Reject MQTT cover discovery using unsupported tilt_invert_state (#62680) 2021-12-23 17:05:52 +01:00
Marcel van der Veldt c79f13429c
Fix Hue docstring (#62684) 2021-12-23 16:41:22 +01:00
Mick Vleeshouwer c3917fc250
Remove TaHoma integration (#62607) 2021-12-23 16:17:51 +01:00
Franck Nijhof 40f1d53475
Add sensor tests to Luftdaten (#62663) 2021-12-23 15:46:17 +01:00
Marcel van der Veldt 430cc6194b
Never use availability workaround for certified Hue devices (#62676) 2021-12-23 15:35:57 +01:00
epenet dff9767da5
Use SensorDeviceClass in thermoworks_smoke (#62637) 2021-12-23 15:17:40 +01:00
Christian Manivong 772428e70f
Round Hue transition to steps of 100ms (#62619)
* Adding round() to transition before firing turn_on, turn_off #62608
2021-12-23 15:08:24 +01:00
Marcus Lönnberg 1bbeaa722c
Support Tuya cover with operation mach_operate (#62650) 2021-12-23 15:07:23 +01:00
J. Nick Koston 540ae4d10e
Update flux_led dhcp matching for older devices (#62577) 2021-12-23 14:32:57 +01:00
Robert Hillis 66fd7de34a
Remove deprecated yaml config from Syncthru (#62541) 2021-12-23 14:31:28 +01:00
Marcel van der Veldt eb37668036
Fix Hue button events (#62669) 2021-12-23 14:24:37 +01:00
Marcel van der Veldt 8e759bb267
Adjust Hue retry logic to changes in the aiohue library (#62665) 2021-12-23 14:04:10 +01:00
Marcel van der Veldt aa9746808e
Bump aiohue to 3.0.10 (#62664) 2021-12-23 12:18:53 +01:00
G Johansson b6682b3089
Correct extra attributes trafikverket_train (#62636) 2021-12-23 11:35:01 +01:00
Tom Brien fa7739937d
Provide clearer feedback in Coinbase when authentication fails (#62627) 2021-12-23 10:52:22 +01:00
Erik Montnemery 8e8e49d3e7
Add sensor device classes for apparent and reactive power (#62010) 2021-12-23 10:29:38 +01:00
Marcel van der Veldt 247c220882
Bump aiohue to 3.0.9 (#62658) 2021-12-23 10:14:07 +01:00
Erik Montnemery cb2c2d98c3
Remove unnecessary checks before calling os.makedirs (#62576) 2021-12-23 09:59:31 +01:00
Paulus Schoutsen 1edfa2d426
Bump aiohue to 3.0.8 (#62651) 2021-12-22 23:17:04 -08:00
Eduard van Valkenburg 259e454c3e
Azure Event Hub code improvements (#62584)
* code improvements to AEH

* moved hub back
2021-12-23 07:52:44 +01:00
Andre Richter e9c69682c7
Fix broken Vallox integration in 2021.12 (#62308) 2021-12-22 22:48:31 -08:00
Franck Nijhof dc47cbd01b
Add input_button support to Google Assistant (#62593) 2021-12-23 07:38:35 +01:00
Franck Nijhof 99b2161365
Add input_button support to Alexa (#62592) 2021-12-23 07:36:45 +01:00
Allen Porter 23277181ca
Increase test coverage for google calendar (#62648)
* Increase test coverage for google calendar

Update tests to exercise the API responses, getting test coverage
to 97% for calendar.py

----------- coverage: platform linux, python 3.9.6-final-0 -----------
Name                                          Stmts   Miss  Cover   Missing
---------------------------------------------------------------------------
homeassistant/components/google/__init__.py     193     84    56%   92, 163-228, 238, 244-247, 254-262, 274, 298-299, 305-347, 387-392, 416-430, 435-437
homeassistant/components/google/calendar.py     122      4    97%   41, 45, 51, 135
---------------------------------------------------------------------------
TOTAL                                           315     88    72%

* Revert conftest changes

* Update typing errors found on CI

* Update python3.8 typing imports

* Remove commented out code
2021-12-23 07:31:56 +01:00
Franck Nijhof 6ef7539a31
Add base integration tests to Luftdaten (#62594) 2021-12-23 07:25:26 +01:00
J. Nick Koston ef5e5c3f96
Dismiss existing discoveries when a HomeKit device is paired (#62632) 2021-12-22 19:40:36 -10:00
Franck Nijhof 79627526c7
Add strict typing to PVOutput (#62628) 2021-12-23 06:25:05 +01:00
shbatm 36c7521508
Bump PyISY to v3.0.1 (#62646) 2021-12-22 21:22:27 -07:00
GitHub Action 87d4420a72 [ci skip] Translation update 2021-12-23 00:14:21 +00:00
Franck Nijhof c5d62ccc7e
Add input_button support to HomeKit (#62590) 2021-12-22 13:23:57 -10:00
Steven Looman cb82169e92
Bump async-upnp-client to 0.23.2 (#62634) 2021-12-22 13:23:22 -10:00
epenet cd452552af
Use relative imports in sensor (#62638) 2021-12-22 13:22:15 -10:00
Joakim Plate bda1f02371
Reduce boilerplate code in entry init of rfxtrx (#58844)
* Reduce boilerplate code for rfxtrx

* Use rfxtrx built in to construct event

* Fixup mypy after rebase

* Also fix callable import
2021-12-22 22:38:55 +01:00
J. Nick Koston 91a8b1e7b3
Speed up connecting to legacy flux_led devices (#62614) 2021-12-22 22:27:03 +01:00
Robert Hillis e593377fba
Add deprecation warning to switchbot yaml config (#62583)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-22 22:17:53 +01:00
Tom Harris 8750fd14cc
Improve Insteon responsiveness (#62612) 2021-12-22 21:44:37 +01:00
G Johansson 566f631933
Implement config_Flow for Sensibo (#60900)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-22 10:32:50 -10:00
G Johansson 0e48a658f3
Fix timezone trafikverket_train (#62582)
* Bugfix trafikverket train

* Change from pytz to hass function

* Fix datetime in extra attributes

* Fix time timezone

* Reset changes extra attributes
2021-12-22 21:28:18 +01:00
Thomas Dietrich 0b8cf47613
Add secondary codeowner to statistics integration (#62622) 2021-12-22 10:22:57 -10:00
J. Nick Koston 4954f3c73f
Bump flux_led to 0.27.13 to fix discovery of legacy devices (#62613)
- The 2013/2014 devices have yet another format for
  the version
2021-12-22 22:18:52 +02:00
Franck Nijhof e3f7d9a803
Extract PVOutput logic into PyPi package (#62625) 2021-12-22 21:17:23 +01:00
Simone Chemelli 51a49f3d39
Fix missing exception handling from upstream lib in Fritz (#62617)
* Fix missing exception handling from upstream lib

* isort
2021-12-22 20:59:56 +01:00
René Klomp d1c0e60bf1
Bump pysma to 0.6.10 (#62599) 2021-12-22 21:57:35 +02:00
Jc2k 06eec7adfc
Allow adding new devices to an Aqara hub via homekit_controller (#62600) 2021-12-22 08:49:58 -10:00