Commit Graph

10544 Commits

Author SHA1 Message Date
Christopher Bailey
699512c36f Add UniFi Protect button (#63001) 2021-12-29 09:38:44 -10:00
Christopher Bailey
b31041698f Feedback from previous PR (#63022) 2021-12-29 08:39:45 -10:00
Allen Porter
788373a7ca Update legacy nest config flow tests to use modern best practices (#63019)
* Update legacy nest tests to use modern best practices

Update legacy nest integration config flow tests to test the config flow actually through the integration APIs rather
than interacting with the config flow object directly. This is a pre-factoring pulled out of a larger config flow revamp
where we want to exercise the actual production code for initializing configuration, config flows, and authentication
implementations.

* Revert some test name/comment changes

* Update setup calls to verify async_setup_legacy is called
2021-12-29 10:38:50 -08:00
Allen Porter
23384ee1e8 Update stream errors with additional error information (#62900) 2021-12-29 18:57:14 +01:00
Franck Nijhof
2f7fa962b4 Detect unsupported system in CPU Speed integration (#63012) 2021-12-29 18:54:47 +01:00
Mirko Lenz
ab4effc7e2 Allow sending GroupValueResponse telegrams with knx.send service (#62639)
* Add knx.respond service

* Combine knx.send and knx.respond services

* Rename knx attribute and fix tests

* Use parametrization in tests

Co-authored-by: Marvin Wichmann <marvin.wichmann@unic.com>
2021-12-29 18:15:48 +01:00
Marcel van der Veldt
497bfc1c8f Normalize Hue colortemp if value outside of bounds (#62998) 2021-12-29 15:13:52 +01:00
Marcel van der Veldt
c5bdf858a8 Fix short flash effect in Hue integration (#62988) 2021-12-29 14:21:38 +01:00
Allen Porter
2df0adfbc7 Reload nest integration when new devices are added (#62976) 2021-12-29 12:20:55 +01:00
Christopher Bailey
490d76e01e Add UniFi Protect media_player (#62895) 2021-12-28 18:36:18 -10:00
Alexei Chetroi
b54f2c9487 Don't throw when a Zigbee device has an unknown ZCL cluster (#62964)
* Fix channel name for clusters with None ep_attribute

* Correctly generate entity name based on channel names
2021-12-28 21:04:11 -05:00
Franck Nijhof
4fe62a251d Rename Luftdaten -> Sensor.Community (#62865) 2021-12-28 21:40:00 +01:00
Franck Nijhof
5ab527e59c Add configuration flow to CPU Speed (#62929) 2021-12-28 21:17:53 +01:00
Sebastian Lövdahl
b5fd2e0d58 Convert Vallox integration to config flow (#62780) 2021-12-28 10:06:29 -10:00
Franck Nijhof
90a9d64f67 Add reauthentication handling to PVOutput (#62932) 2021-12-28 17:28:35 +01:00
Pascal Reeb
1af3177466 Fix unique_id of nuki config entry (#62840)
* fix(nuki): fixed naming of nuki integration

* parse_id function

* migration path

* fixes from ci runs

* don't update title if it was changed

* move to dedicated helper

* use dict of params

* Update homeassistant/components/nuki/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 23:02:48 +01:00
Mick Vleeshouwer
b9ce82f79c Add unique id to DHCP step in Config Flow for Overkiz (#62847) 2021-12-27 11:28:18 -10:00
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