Commit Graph

10202 Commits

Author SHA1 Message Date
Teemu R
483545eeaa Bump python-songpal dependency to 0.14 (#66769)
* Bump python-songpal dependency to 0.14

* Fix tests

* pip_check -1

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-18 11:31:46 +02:00
Erik Montnemery
98982c86e4 Add MQTT diagnostics (#66730)
* Add MQTT diagnostics

* Redact device tracker location

* Adjust tests

* Address comments from code review
2022-02-18 09:28:49 +01:00
Franck Nijhof
e26488b1ca Add config flow to MJPEG IP Camera (#66607) 2022-02-18 00:03:41 -08:00
Raman Gupta
82ebb7047f Bump zwave-js-server-python to 0.35.0 (#66785)
* Bump zwave-js-server-python to 0.35.0

* Remove support for new event type which should go in a separate PR
2022-02-18 02:36:27 -05:00
Allen Porter
58551ec66d Update nest camera tests to use common test fixture (#66192) 2022-02-17 23:08:29 -08:00
J. Nick Koston
64277058b5 Ensure lutron caseta imports set the unique id (#66754) 2022-02-18 00:03:20 +01:00
epenet
8bf19655f1 Fix samsung mocks (#66765)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-17 13:04:48 -08:00
epenet
6d0a06c57a Add type hints in samsungtv tests (#66632)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-17 12:47:58 -08:00
Tom
dacc2b1ab0 Plugwise update Zigbee addressing fixture data to 64bits (#66761) 2022-02-17 20:58:06 +01:00
Shay Levy
e79348f952 Fix webostv notify service (#66760) 2022-02-17 20:13:09 +01:00
Chris Talkington
9d5dc2ce24 Improve roku play media handling (#66429)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-17 10:19:01 -08:00
Tom
f8d38a1025 Plugwise: Update fixtures (#66749) 2022-02-17 17:03:18 +01:00
Franck Nijhof
276fd4f42c Add Python 3.10 to CI (#59729) 2022-02-17 14:58:24 +01:00
Franck Nijhof
de24d00a1c Use min/max/step from thermostat in Plugwise (#66618) 2022-02-17 14:11:47 +01:00
Jan Bouwhuis
83846bb5cc MQTT climate preset_modes rework (#66062)
* MQTT climate preset_modes rework

* Set deprection date to 2022.9 (6 months)

* add valid_preset_mode_configuration for discovery

* Update deprecation date
2022-02-17 13:51:35 +01:00
Erik Montnemery
4236764fd5 Don't allow creating or updating input_select with duplicates (#66718)
* Don't allow creating or updating input_select with duplicates

* Simplify error message

* Improve error message
2022-02-17 13:11:49 +01:00
epenet
a9aefb66b5 Add device info to samsungtv diagnostics (#66728)
* Add device-info to samsungtv diagnostics

* Adjust tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-17 12:35:02 +01:00
Raman Gupta
a1b81b2de4 Add inclusion state to zwave_js/network_status WS API cmd (#65398) 2022-02-17 11:38:20 +01:00
Erik Montnemery
f89de613d9 Improve MQTT binary_sensor test (#66688) 2022-02-17 00:06:42 +01:00
Brett Adams
bccfaceedb Code Quality improvements for Aussie Broadband (#65408)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-16 23:38:05 +01:00
epenet
2687f61428 Fix slow samsungtv test (#66696) 2022-02-16 16:04:50 -06:00
Erik Montnemery
eaf73318e1 Remove duplicated options from input_select (#66680) 2022-02-16 22:04:49 +01:00
epenet
0138caa277 Fix side_effect patching in samsungtv tests (#66651)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 12:40:11 -08:00
epenet
2d33e435b9 Fix token refresh in samsungtv (#66533) 2022-02-16 12:28:01 -08:00
epenet
14e48bac3a Fix SamsungTVWS mocking in samsungtv tests (#66650)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 12:13:11 -08:00
Robert Svensson
dd9b14d5c9 Add Button platform to deCONZ integration (#65700)
* Improve scene platform

* Add button platform, tests and fix tests affected by new entities existing

* Remove unnused property

* Bump dependency to v87
2022-02-16 17:55:30 +01:00
Bram Kragten
a9390908ea Keep TTS media browser params in identifier (#66663)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-16 08:54:57 -08:00
Paulus Schoutsen
cd5b69d02e Add Google local indicator (#66610) 2022-02-16 07:54:59 -08:00
Tobias Sauerwein
3d1cad9f67 Improve handling of cloud hook registration (#65664)
Signed-off-by: cgtobi <cgtobi@gmail.com>
2022-02-16 16:42:45 +01:00
Mike Fugate
0bd0b4766e Refactor sleepiq as async with config flow (#64850)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-16 08:51:29 -06:00
Franck Nijhof
4051e2f518 Fix Plugwise auto HVAC mode (#66639)
* Fix Plugwise auto hvac mode

* Clean up set HVAC
2022-02-16 13:22:21 +01:00
J. Nick Koston
e0cee22b8a Switch ezviz to use integration discovery (#66579) 2022-02-16 12:07:36 +01:00
J. Nick Koston
38b9bea9a3 Switch tplink to use integration discovery (#66575) 2022-02-16 12:06:58 +01:00
epenet
cf5652737a Cleanup samsungtv tests (#66570)
* Drop unused init method

* Add type hints to media_player tests

* Adjust test_init

* Adjust media_player

* Add type hints to conftest

* Use Mock in test_media_player

* Use lowercase in test_init

* Use relative import in diagnostics

* Add type hints to config_flow

* Adjust coveragerc

* Make gethostbyname autouse

* Cleanup gethostbyname and remote fixtures

* Drop unused fixtures

* Undo type hints and usefixtures on media_player

* Undo type hints and usefixtures in test_init

* Undo type hints in conftest

* Undo usefixtures in test_config_flow

* Format

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 09:29:52 +01:00
Marcel van der Veldt
8f4ec89be6 Bump aiohue to version 4.1.2 (#66609) 2022-02-15 17:26:13 -08:00
J. Nick Koston
99568b133f Switch flux_led to use integration discovery (#66574) 2022-02-16 01:25:43 +01:00
J. Nick Koston
6ae2331805 Switch senseme to use integration discovery (#66576) 2022-02-16 00:47:01 +01:00
J. Nick Koston
d79d775d92 Switch elkm1 to use integration discovery (#66572) 2022-02-15 23:18:55 +01:00
J. Nick Koston
b28754e5fe Switch steamist to use integration discovery (#66578) 2022-02-15 23:18:13 +01:00
J. Nick Koston
d64ef2ba73 Deduplicate flux_led title and CONF_NAME (#66598) 2022-02-15 22:44:35 +01:00
J. Nick Koston
f069a37f7d Allow integrations to request dhcp discovery flows for registered devices (#66528) 2022-02-15 11:02:52 -06:00
J. Nick Koston
2b43293363 Switch unifiprotect to use integration discovery (#66569)
Backstory: https://github.com/home-assistant/core/pull/65752#discussion_r800068914
2022-02-15 17:02:33 +01:00
Joakim Sørensen
0d2712e436 Add binary_sensor to Version integration (#66539)
* Add binary_sensor to version integration

* Add test to check we not create for local

* Move _attr_icon to sensor

* Update homeassistant/components/version/binary_sensor.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-15 16:39:34 +01:00
epenet
52ebe58b14 Add tests for samsungtv diagnostics (#66563)
* Add tests for samsungtv diagnostics

* Adjust coveragerc

* Adjust type hints

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-15 16:24:13 +02:00
Robert Svensson
1bc936ca8d Improve Deconz sensors (#65259) 2022-02-15 08:32:56 +01:00
Allen Porter
572fa7d055 Update nest camera to pull still images from stream component (#66427)
* Update nest to use stream thumbnail when it exists

* Update nest camera to always pull still image from stream

Update nest camera to always pull the still iamge from the stream component,
removing the use of the separate ffmpeg call, and removing use of the nest event
image. Image for events can now be pulled using the media source APIs, rather
than relying on the camera snapshot.

* Simplify a comment

* Remove more unused variables

* Simplify comments, image, and test code

* Remove assertions for placeholder images
2022-02-14 21:45:09 -08:00
Brett Adams
6b6f50e28b Bump pyaussiebb in Aussie Broadband (#65754)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-14 21:02:40 -06:00
Diogo Gomes
b211a1faa7 Fix utility meter restore state (#66490)
* Address #63874

* avoid setting _last_period to None

* name is always set in discovery

* ValueError never happens only DecimalException

* async_tariff_change tracks state change - state machine will not pass a None

* test we only reset one utility_meter

* test corrupted restored state

* pretty sure _current_tariff doesn't change from init until here

* missing assert

* Revert "async_tariff_change tracks state change - state machine will not pass a None"

This reverts commit 24fc04a964139e5cfecbfa20f91e2d30ab145d77.

* address review comment

* always a Decimal
2022-02-15 02:16:30 +01:00
Raman Gupta
152dbfd2fe Add button entity to ping zwave_js node (#66129)
* Add button entity to ping zwave_js node

* Fix docstring

* Fix docstrings

* Fix and simplify tests

* Fix name

* Update homeassistant/components/zwave_js/button.py

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

* Update homeassistant/components/zwave_js/services.py

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

* Update homeassistant/components/zwave_js/button.py

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

* Update homeassistant/components/zwave_js/button.py

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

* Update homeassistant/components/zwave_js/button.py

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

* review comments

* Update homeassistant/components/zwave_js/button.py

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

* Update homeassistant/components/zwave_js/button.py

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

* Remove self.client line

* Add callback to remove entity

* Add extra dispatch signal on replacement

* Combine signals for valueless entities

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-14 15:38:22 -05:00
Raman Gupta
113c3149c4 Improve zwave_js device automation strings for config parameters (#66428)
* Improve zwave_js device automation strings for config parameters

* rename things to be more clear

* Match config file format
2022-02-14 15:14:02 -05:00