Commit Graph
10038 Commits
Author SHA1 Message Date
Shay Levy 480de899fb Fix webostv notify service (#66760) 2022-02-18 11:51:49 -08:00
epenet 69238189fb Fix token refresh in samsungtv (#66533) 2022-02-16 12:28:09 -08:00
epenetandepenet d83fdae11e Fix SamsungTVWS mocking in samsungtv tests (#66650)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 12:27:42 -08:00
epenetandepenet 9eca1c236d 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 12:27:41 -08:00
epenetandepenet f5ca88b6e4 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-16 12:27:40 -08:00
Marcel van der Veldt de96d21ea9 Bump aiohue to version 4.1.2 (#66609) 2022-02-15 17:47:41 -08:00
Diogo Gomes 96cbae5393 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 17:47:36 -08:00
Raman Gupta 312c31afda revert change in vizio logic to fix bug (#66424) 2022-02-15 17:44:30 -08:00
Franck Nijhof 646c56e0e9 Fix CPUSpeed with missing info (#66339) 2022-02-11 13:30:42 -08:00
Franck Nijhof f3a3ff28f2 Fix PVOutput when no data is available (#66338) 2022-02-11 13:30:41 -08:00
Erik Montnemery 7cc9a4310d Fix controlling nested groups (#66176) 2022-02-11 13:22:10 -08:00
Erik Montnemery 339fc0a2af Fix flaky homewizard test (#65490) 2022-02-09 10:55:09 +01:00
Dave T f44ca5f9d5 Fix generic camera typo in attr_frame_interval (#65390) 2022-02-09 10:55:04 +01:00
Erik Montnemery 6ec09320dd Fix cleanup of MQTT debug info (#66104) 2022-02-08 14:07:43 -08:00
Raman Gupta 23d2168952 Fix schema for zwave_js WS API (#66052) 2022-02-08 12:03:42 -08:00
Erik Montnemery 02cb879717 Speed up deletion of duplicated statistics (#66014) 2022-02-08 12:03:37 -08:00
Erik Montnemery 0f06ebde06 Revert "Make idle chromecasts appear as idle instead of off" (#66005) 2022-02-08 12:03:35 -08:00
Joakim SørensenandMartin Hjelmare ac63a7e01e Add diagnostics to Version integration (#65999)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 12:03:34 -08:00
TiernanandNikolay Vasilchuk 49d6048278 Fix TOD incorrectly determining the state between sunrise and sunset (#65884)
* Fix TOD component incorrectly determining the state between sunrise and sunset (#30199)

* TOD fix

* Comment added

* Review

* Review

* Review

* Update time after day fix workaround for compatibility with
current version.
Only apply fix when using times and not when using sun events.
Add unit test for behaviour.

Co-authored-by: Nikolay Vasilchuk <Anonym.tsk@gmail.com>
2022-02-08 12:03:32 -08:00
Paulus Schoutsen ceae63d457 Fix UPNP access to SSDP info (#65728) 2022-02-08 12:03:31 -08:00
J. Nick Koston e90a6bbe1c Add diagnostics support to HomeKit (#65942)
* Add diagnostics support to HomeKit

* remove debug
2022-02-06 14:23:03 -08:00
J. Nick Koston b9d346baed Fix loss of ability to control white channel in HomeKit on RGB&W lights (#65864)
* Fix loss of ability to control white channel in HomeKit on RGB&W lights

- Fix white channel missing from RGB/W lights

- Fix temp missing from RGB/CW lights

- Fixes #65529

* cover the missing case

* bright fix

* force brightness notify on color mode change as well
2022-02-06 14:23:00 -08:00
Allen Porter 619a52a387 Fix legacy nest diagnostics to return empty rather than fail (#65824)
Fix legacy nest diangostics to return gracefully, rather than a TypError
by checking explicitiy for SDM in the config entry. Update diagnostics
to use the common nest test fixture, and extend with support for the
legacy nest config. Use the sdm test fixture in the existing legacy
tests so they all share the same config files.
2022-02-06 14:22:57 -08:00
J. Nick Koston 5786f68bb7 Prevent multiple dhcp flows from being started for the same device/domain (#65753) 2022-02-06 14:19:46 -08:00
Aaron Bach bccfe6646e Add redacted subscription data to SimpliSafe diagnostics (#65751) 2022-02-06 14:19:45 -08:00
ollo69 fc7ea6e1b3 Improve androidtv mac address handling and test coverage (#65749)
* Better mac addr handling and improve test coverage

* Apply suggested changes

* Apply more suggested changes
2022-02-06 14:19:44 -08:00
Joakim Sørensen 27dbf98dae Allow selecting own repositories (#65695) 2022-02-04 12:01:19 -08:00
J. Nick Koston 84b2ec2244 Fix warm/cold reversal in rgbww_to_color_temperature (#65677) 2022-02-04 12:00:01 -08:00
Erik Montnemery 9cd6bb7335 Don't use shared session during recorder migration (#65672) 2022-02-04 11:59:26 -08:00
Erik Montnemery 4e3cd1471a Remove limit of amount of duplicated statistics (#65641) 2022-02-04 11:58:02 -08:00
alexanv1 67a9932c5c Fix Z-Wave lights (#65638)
* Fix Z-Wave lights

* Update tests
2022-02-04 11:58:01 -08:00
Jeff Irion b004c5deb6 Bump androidtv to 0.0.63 (fix MAC issues) (#65615) 2022-02-04 11:57:59 -08:00
Raman Gupta 9eeaec4f79 Raise when zwave_js device automation fails validation (#65610) 2022-02-04 11:55:51 -08:00
Duco Sebel 3babc43fa5 Add migration to migrate 'homewizard_energy' to 'homewizard' (#65594) 2022-02-04 11:55:50 -08:00
G Johansson 92f4f99d41 Add back resolvers config flow dnsip (#65570) 2022-02-03 15:06:34 -08:00
J. Nick Koston afbc55b181 Do not update unifiprotect host from discovery if its not an ip (#65548) 2022-02-03 15:06:32 -08:00
Jan Bouwhuis 931c27f452 Return current state if template throws (#65534) 2022-02-03 15:06:31 -08:00
Maciej Bieniek 1155d229f3 Get wind speed unit from AccuWeather data (#65425) 2022-02-03 15:06:23 -08:00
Erik Montnemery ec2e450442 Stringify MQTT payload in mqtt/debug/info WS response (#65429) 2022-02-02 18:11:24 +01:00
J. Nick Koston 1809489421 Ensure unifiprotect discovery can be ignored (#65406) 2022-02-02 18:11:07 +01:00
J. Nick Koston 95d4be375c Handle brightness being None for senseme (#65372) 2022-02-02 18:10:40 +01:00
Jan BouwhuisandErik Montnemery 37f9c833c0 Fix MQTT expire_after effects after reloading (#65359)
* Cleanup sensor expire triggers after reload

* fix test binary_sensor

* Also trigger cleanup parent classes

* Restore an expiring state after a reload

* correct discovery_update

* restore expiring state with remaining time

* Update homeassistant/components/mqtt/binary_sensor.py

description

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Log remaining time

* Move check

* check and tests reload

* remove self.async_write_ha_state()

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-02 18:10:36 +01:00
b902c59504 Report unmet dependencies for failing config flows (#65061)
* Report unmet dependencies for failing config flows

* Apply suggestions from code review

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

* Update homeassistant/setup.py

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

* Modify error message

* Add test

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-02 18:10:30 +01:00
Robert Svensson f3c39d8dca Redact host address in UniFi diagnostics (#65379) 2022-02-01 09:59:25 -08:00
Bram Kragten 4f8752b351 Allow removing keys from automation (#65374) 2022-02-01 09:59:23 -08:00
G Johansson 03bd3f5001 Fix options for dnsip (#65369) 2022-02-01 09:59:22 -08:00
Paulus Schoutsen 68651be2cc Simplify unifi cleanup logic (#65345) 2022-02-01 09:59:21 -08:00
7fe1b85495 Fix MotionEye config flow (#64360)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-01 09:59:19 -08:00
Paulus Schoutsen b7c7571a39 I zone, you zone, we zoning (#65344) 2022-01-31 17:12:26 -08:00
J. Nick Koston 5c3d4cb9a5 Prevent unifiprotect from being rediscovered on UDM-PROs (#65335) 2022-01-31 17:12:23 -08:00