Commit Graph

9485 Commits

Author SHA1 Message Date
Franck Nijhof
1cfeb404b6 Add configuration flow to PVOutput (#62667)
* Add configuration flow to PVOutput

* Update homeassistant/components/pvoutput/sensor.py

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

* Update homeassistant/components/pvoutput/sensor.py

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

* Use account URL placeholder

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 22:05:10 +01:00
Florent Thoumie
3c2d5d5f8c Update to iaqualink 0.4.1 (#53745)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-27 10:20:55 -10:00
Amos Yuen
45ab9a3e33 Init template trigger binary sensor to None instead of False (#62769) 2021-12-27 20:52:26 +01:00
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
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
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
J. Nick Koston
417172eef2 Cleanup HomeKit names to avoid unknown error when adding (#62831) 2021-12-27 09:53:33 +01: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
Christopher Bailey
e982e7403a Add unifiprotect integration (#62697)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-25 20:12:57 -10: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
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
Eric Severance
a1be11a492 Store wemo device sw_version & upnp connections (#62758) 2021-12-24 10:31:42 -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
Lorenzo Brescanzin
0da710c4e0 Fix HomeKit sensor update check (#62705) 2021-12-24 08:39:37 -10:00
J. Nick Koston
690b5a994b Add missing __init__.py to overkiz tests (#62727) 2021-12-23 22:55:31 -10: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
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
Dave T
fa6d6d914b Use new enums in zwave tests (#62711)
* Use new enums in zwave tests

* Code review: == to is and BinarySensor to Sensor
2021-12-23 23:51:33 +01:00
Dave T
759481688b Use new enums in huisbaasje tests (#62714) 2021-12-23 23:44:09 +01:00
Dave T
79ef4dea98 Use new enums in smartthings tests (#62708)
* Use new enums in smartthings tests

* Convert == to is
2021-12-23 23:14:10 +01:00
Dave T
caa2157b5b Use new enums in rdw tests (#62707) 2021-12-23 23:07:56 +01:00
Joakim Sørensen
13e3ca6ab1 Add config flow to version integration (#54642) 2021-12-23 21:04:58 +01: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
Franck Nijhof
40f1d53475 Add sensor tests to Luftdaten (#62663) 2021-12-23 15:46:17 +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
Marcel van der Veldt
eb37668036 Fix Hue button events (#62669) 2021-12-23 14:24:37 +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
Erik Montnemery
cb2c2d98c3 Remove unnecessary checks before calling os.makedirs (#62576) 2021-12-23 09:59:31 +01: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
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
c5d62ccc7e Add input_button support to HomeKit (#62590) 2021-12-22 13:23:57 -10: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
Jc2k
06eec7adfc Allow adding new devices to an Aqara hub via homekit_controller (#62600) 2021-12-22 08:49:58 -10:00
uvjustin
6e13605cad Add get_image method to Stream (#61918)
* Add get_image method to Stream

* Add KeyFrameConverter class
2021-12-23 00:24:53 +08:00
Erik Montnemery
eda9291ca1 Improve google cast state reporting (#62587) 2021-12-22 14:54:36 +01:00
Dave T
38e95ca663 Use new enums for prometheus tests (#62550) 2021-12-22 14:31:20 +01:00
Dave T
d7de3fbfce Use new enums in picnic tests (#62549) 2021-12-22 14:29:55 +01:00