Commit Graph
47224 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub 816695cc96 Avoid selecting attributes in the history api when no_attributes is passed (#68352) 2022-03-19 23:47:22 -10:00
a0a96dab05 Add door locks to Subaru integration (#52852)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-19 23:41:53 -10:00
Marc MuellerandGitHub e09d0b7106 Fix CI file changed filter (#68351) 2022-03-20 10:32:10 +01:00
cf4033b1bc Simplify time zone setting in tests (#68330)
* Simplify timezone setting in tests

* Fix typo

* Adjust caldav tests

* Adjust input_datetime tests

* Adjust time_date tests

* Adjust tod tests

* Adjust helper tests

* Adjust recorder tests

* Adjust risco tests

* Adjust aemet tests

* Adjust flux tests

* Adjust forecast_solar tests

* Revert unnecessary change in forecast_solar test

* Adjust climacell tests

* Adjust google tests

* Adjust sensor tests

* Adjust sonarr tests

* Adjust template tests

* Adjust zodiac tests

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-20 10:25:15 +01:00
James HodgkinsonandGitHub dbeec1f7da Update pyaussiebb to 0.0.14 (#68293) 2022-03-20 07:35:34 +01:00
J. Nick KostonandGitHub 0c0df07c52 Avoid hashing attributes when they are already in the cache (#68395) 2022-03-19 23:33:37 -07:00
Paulus SchoutsenandGitHub a91888a7f8 Don't use hass.helpers (#68393) 2022-03-19 11:39:32 -10:00
Álvaro Fernández RojasandGitHub f1f48475f2 Add Airzone coordinator tests (#68384) 2022-03-19 11:34:52 -10:00
Paulus SchoutsenandGitHub ead81edcec Handle Hue discovery errors (#68392) 2022-03-19 14:28:16 -07:00
J. Nick KostonandGitHub 7ee647cc78 Fix FOREIGN KEY constraint failed when removing state_attributes (#68364) 2022-03-19 14:21:28 -07:00
J. Nick KostonandGitHub fed447a3f4 Filter IPv6 addreses from enphase_envoy discovery (#68362) 2022-03-19 13:40:00 -07:00
Felipe Martins DielandGitHub 0df88b80e7 Bump broadlink to 0.18.1 (#68391) 2022-03-19 10:34:30 -10:00
Marcel van der VeldtandGitHub 8187541d41 Hue integration: update errors that should be supressed (#68337) 2022-03-19 13:27:04 -07:00
Allen PorterandGitHub 5027e1bcff Mark stream available on idle timeout (#68380)
Mark stream as available on idle timeout so that the frontend can
still interact with it. In particular, the Frontend won't interact
with camera objects that are not available e.g. from picture glance
card.

Issue #67922
2022-03-19 10:24:32 -07:00
Raman GuptaandGitHub 8220817d47 Switch zwave_js redact keys from tuple to set (#68375) 2022-03-19 16:26:44 +01:00
Franck NijhofandGitHub cca0ecc5da Update sentry-sdk to 1.5.8 (#68367) 2022-03-19 16:18:35 +02:00
Marc MuellerandGitHub 126320529e Add zha typing [core.discovery] (1) (#68359)
* Add zha typing [core.discovery] (1)

* Fix circular import
2022-03-19 07:37:04 -04:00
Franck NijhofandGitHub ce30b32add Update pytest to 7.1.1 (#68366) 2022-03-19 12:14:05 +01:00
Scott BradshawandGitHub b160931603 Bump python-smarttub dependency to 0.0.30 (#68356) 2022-03-19 10:45:18 +01:00
4cd4fbefbf Add new tomorrow.io integration to replace Climacell (#68156)
* Add new tomorrow.io integration to replace Climacell - Part 1/3 (#57121)

* Add new tomorrow.io integration to replace Climacell - Part 1/3

* remove unused code

* remove extra test

* remove more unused code

* Remove even more unused code

* Feedback

* clean up options flow

* clean up options flow

* tweaks and fix tests

* remove device_class from tomorrowio entity description class

* use timestep

* fix tests

* always use default name but add zone name if location is in a zone

* revert change that will go into future PR

* review comments

* move code out of try block

* bump max requests to 500 as per docs

* fix tests

* Add new tomorrow.io integration to replace Climacell - Part 2/3 (#57124)

* Add new tomorrow.io integration to replace Climacell - Part 2/3

* translations

* set config flow to false in manifest

* Cleanup more code and re-add options flow test

* fixes

* patch I/O calls

* Update tests/components/climacell/test_config_flow.py

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

* remove unused import

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

* Fix codeowners

* fix mypy and pylint

* Switch to DeviceInfo

* Fix fixture location and improve sensor entities in tomorrowio integration (#63527)

* Add new tomorrow.io integration to replace Climacell - Part 3/3 (#59698)

* Switch to DeviceInfo

* Add new tomorrow.io integration to replace Climacell - Part 1/3 (#57121)

* Add new tomorrow.io integration to replace Climacell - Part 1/3

* remove unused code

* remove extra test

* remove more unused code

* Remove even more unused code

* Feedback

* clean up options flow

* clean up options flow

* tweaks and fix tests

* remove device_class from tomorrowio entity description class

* use timestep

* fix tests

* always use default name but add zone name if location is in a zone

* revert change that will go into future PR

* review comments

* move code out of try block

* bump max requests to 500 as per docs

* fix tests

* Migrate ClimaCell entries to Tomorrow.io

* tweaks

* pylint

* Apply fix from #60454 to tomorrowio integration

* lint and mypy

* use speed conversion instead of distance conversion

* Use SensorDeviceClass enum

* Use built in conversions and remove unused loggers

* fix requirements

* Update homeassistant/components/tomorrowio/__init__.py

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

* Use constants

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

* Black

* Update logic and add coverage

* remove extra line

* Do patching correctly

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-19 08:42:22 +01:00
Raman GuptaandGitHub 4578de68e7 Redact data from zwave_js diagnostics (#68348)
* Redact home ID and location from zwave_js diagnostics

* Switch to set
2022-03-19 02:46:01 -04:00
Michael KowalchukandGitHub e0b577f8bd Add zwave_js fan preset modes and enable them for Inovelli LZW36 (#60947)
* Rework fan data templates to support preset modes, and define data for the Inovelli LZW36

* Add tests. Add dispatching to async_set_preset_mode in async_turn_on.

* Add a test case for invalid preset modes

* Remove unintended merge artifact

* Fix indentation

* Fix merge error

* rm blank line

* Add tests for invalid fan config data, and fix an issue where this prevented the node from being added.

* Fix tests and improve error handling
2022-03-19 03:56:05 +01:00
Marc MuellerandGitHub f9dcf5afa2 Add zha typing [core.group] (#68350) 2022-03-18 22:08:19 -04:00
Franck NijhofandGitHub 171c58fed2 Rename Lovelace to Dashboards (#68346) 2022-03-18 23:29:57 +01:00
J. Nick KostonandGitHub 4cc8998ea7 Make powerwall attribute sensors their own sensors (#68345) 2022-03-18 21:23:26 +01:00
Robert HillisandGitHub 619c1f014b Remove deprecated yaml config from trafikverket_weatherstation (#68336) 2022-03-18 19:33:01 +01:00
Marc MuellerandGitHub ffcc02e93d Add zha typing [api] (2) (#68335) 2022-03-18 19:06:44 +01:00
jjlawrenandGitHub dbb79e2937 Add support for Sonos subwoofer gain controls (#68334) 2022-03-18 10:12:10 -07:00
Franck NijhofandGitHub 7174e7897c Update mypy to 0.941 (#68305) 2022-03-18 16:22:32 +01:00
J. Nick KostonandGitHub 9864090e0b Cache parsing attr in LazyState (#68232) 2022-03-18 07:44:37 -07:00
41a032e3e3 Add diagnostics to stream's Stream objects (#68020)
* Add diagnostics to stream's Stream objects

Add diagnostics key/value pair to the Stream object. Diagnostics support
in camera integration will be added in a follow up and will access the
diagnostics on the Stream object, similar to the examples in the unit
test.

* Rename to audio/video codec

* Fix test codec names

* Update tests/components/stream/test_worker.py

Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>
2022-03-18 07:40:09 -07:00
Franck NijhofandGitHub 2686be921c Remove deprecated (old) Z-Wave integration (#67221)
* Remove deprecated (old) Z-Wave integration

* Mark migration tests as skip, for later cleanup
2022-03-18 13:09:10 +01:00
Simone ChemelliandGitHub 35261a9089 Add switch platform to UptimeRobot (#65394)
* Add switch platfor mto UptimeRobot

* Add tests

* Apply review comment

* review comments part 2

* review comments part 3

* Fix tests after swapping logic on/off

* Fix reauth test

* Check for read-only key

* Fix reauth for switch platform

* mypy

* cleanup

* cleanup part 2

* Fixes + review comments

* Tests

* Apply more review comments

* Required changes

* fix test

* Remove if

* 100% tests coverage

* Check readonly key in config_flow

* Fix strings & translation

* Add guard for 'monitor' keys

* allign tests

* Wrong API key message reworded
2022-03-18 12:18:19 +01:00
Erik MontnemeryandGitHub 5bb271c9fb Add config flow for derivative sensor (#68268) 2022-03-18 12:14:38 +01:00
J. Nick KostonandGitHub b284eddc63 Fix statistics doing I/O in the event loop (#68315) 2022-03-18 00:49:11 -10:00
J. Nick KostonandGitHub 9215702388 Separate attrs into another table (reduces database size) (#68224) 2022-03-18 00:23:13 -10:00
Erik MontnemeryandGitHub d7145095ef Tweak selectors (#68267)
* Optionally don't convert output of duration and time selectors

* Allow number selector selection to be None

* Never convert output of duration and time selectors

* Revert "Allow number selector selection to be None"

This reverts commit b6f52c1e83.
2022-03-18 10:26:05 +01:00
2fcced333d Add config flow for sun (#68295)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-18 10:12:15 +01:00
bc862e97ed Use a dedicated executor pool for database operations (#68105)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-17 23:09:01 -10:00
Erik MontnemeryandGitHub 0655ebbd84 Add config flow for integration sensor (#68288) 2022-03-18 09:52:17 +01:00
Paulus SchoutsenandGitHub ad1e43e083 Add support for variables on trigger (#68275) 2022-03-18 09:25:22 +01:00
Marc MuellerandGitHub ad84a02b8e Add zha typing [api] (1) (#68220) 2022-03-18 09:23:52 +01:00
jjlawrenandGitHub 7b38f81040 Bump plexapi to 4.10.1 (#68313) 2022-03-17 22:36:58 -07:00
J. Nick KostonandGitHub 95f20500ca Commit any pending changes before running non-EventTasks in the recorder (#68287) 2022-03-17 21:33:22 -07:00
Dave TandGitHub 490c921763 Don't access hass.data directly in generic camera test. (#68316) 2022-03-17 14:29:21 -10:00
Zack BarettandGitHub 712c9d4a4f Bump frontend to 20220317.0 (#68314) 2022-03-17 16:12:31 -07:00
Steven LoomanandGitHub f006cffac6 Bump async-upnp-client to 0.27.0 (#68310) 2022-03-17 12:32:46 -10:00
jjlawrenandGitHub b34da1294c Improve Plex media search failure feedback (#67493) 2022-03-17 13:57:22 -07:00
jjlawrenandGitHub f75d621888 Normalize enqueuing Plex media on Sonos (#68132) 2022-03-17 13:52:59 -07:00
Malte FrankenandGitHub a8dae97917 Migrate geo_json_events to async library (#68236)
* use async integration library

* migrating to async library

* migrating tests to async library

* renamed method and fixed comment

* removed callback annotation

* use async dispatcher
2022-03-17 20:40:43 +01:00