Commit Graph

36512 Commits (6971bb8f5bce2183dccb2e0ee7c3845a14dffd94)

Author SHA1 Message Date
Allen Porter 9d933e732b
Remove google scan_for_calendars service and simplify platform setup (#73010)
* Remove google scan_for_calendars service and simplify platform setup

* Update invalid calendar yaml test
2022-06-03 21:56:53 -07:00
Clifford Roche b5fe4e8474
Bump greeclimate to 1.2.0 (#73008) 2022-06-04 06:56:37 +02:00
GitHub Action 636f650563 [ci skip] Translation update 2022-06-04 00:23:28 +00:00
Allen Porter bdc41bf22a
Fix google calendar bug where expired tokens are not refreshed (#72994) 2022-06-03 16:33:12 -07:00
jjlawren 04b2223f06
Provide Sonos media position if duration not available (#73001) 2022-06-03 15:03:21 -07:00
iAutom8 14030991cf
Add ViCare additional temperature sensors (#72792) 2022-06-03 22:57:01 +01:00
Joakim Plate cc807b4d59
fjaraskupan: Don't filter anything in backend (#72988) 2022-06-03 13:05:37 -07:00
J. Nick Koston 8e8fa0399e
Fix statistics_during_period being incorrectly cached (#72947) 2022-06-03 13:04:46 -07:00
rikroe 91df2db9e0
Bump bimmer_connected to 0.9.4 (#72973)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-03 09:59:10 -10:00
G Johansson 8d0dd1fe8c
Config flow for scrape integration (#70476) 2022-06-03 09:24:04 -10:00
G Johansson 5ee2f4f438
Sensibo Set temperature improvement (#72992) 2022-06-03 09:11:57 -10:00
shbatm 18c2614802
Check ISY994 climate for unknown humidity value on Z-Wave Thermostat (#72990)
Check ISY994 climate for unknown humidity on Z-Wave Thermostat

Update to #72670 to compare the property value and not the parent object. Should actually fix #72628
2022-06-03 06:53:23 -10:00
epenet 6da409d6e5
Remove unused constant from auth (#72953) 2022-06-03 08:12:38 -07:00
J. Nick Koston a9d45d656d
Add to codeowners for logbook so I get notifications (#72964)
- Adding explictly will get through my filters and I want
  to watch this one for at least this release
2022-06-03 15:49:17 +02:00
starkillerOG 6cadd4f665
MotionBlinds use device_name helper (#72438)
* use device_name helper

* fix typo

* fix import

* fix isort

* add gateway_test

* implement gateway test

* correct test blind mac
2022-06-03 15:33:43 +02:00
w35l3y beab6e2e5f
Fix ended session when there isn't any response from the user (#72218)
* Fix end session when there isn't any response

This PR fixes #72153

* Added test case as requested

https://github.com/home-assistant/core/pull/72218#discussion_r881584812
2022-06-03 15:32:22 +02:00
starkillerOG 52149c442e
Bump pynetgear to 0.10.4 (#72965)
bump pynetgear to 0.10.4
2022-06-03 13:57:59 +02:00
Joakim Plate 8910d265d6
Keep track of a context for each listener (#72702)
* Remove async_remove_listener

This avoids the ambuigity as to what happens if same callback is added multiple times.

* Keep track of a context for each listener

This allow a update coordinator to adapt what data to request on update from the backing service based on which entities are enabled.

* Clone list before calling callbacks

The callbacks can end up unregistering and modifying the dict while iterating.

* Only yield actual values

* Add a test for update context

* Factor out iteration of _listeners to helper

* Verify context is passed to coordinator

* Switch to Any as type instead of object

* Remove function which use was dropped earliers

The use was removed in 8bee25c938
2022-06-03 13:55:57 +02:00
J. Nick Koston a28fa5377a
Remove unused code from logbook (#72950) 2022-06-03 08:59:00 +02:00
Avi Miller f5c6ad24c4
Bump aiolifx to 0.8.1 (#72897)
Bump aiolifx version to support the latest LIFX devices

LIFX added 22 new product definitions to their public product
list at the end of January and those new products are defined in
aiolifx v0.8.1, so bump the dependency version.

Also switched to testing for relays instead of maintaining a
seperate list of switch product IDs.

Fixes #72894.

Signed-off-by: Avi Miller <me@dje.li>
2022-06-03 08:09:00 +02:00
epenet fe1c3d3be8
Revert "Allow non-async functions in device automation (#72147)" (#72909) 2022-06-02 23:00:47 -07:00
J. Nick Koston 5b31414225
Fix misalignments between sql based filtering with the entityfilter based filtering (#72936) 2022-06-02 20:52:53 -07:00
J. Nick Koston f52fa3599f
Only create auto comfort entities for BAF devices that support them (#72948) 2022-06-02 20:51:27 -07:00
GitHub Action 43b802252a [ci skip] Translation update 2022-06-03 00:19:45 +00:00
Paulus Schoutsen fbb08994f4
Only sync when HA is started up as we already sync at startup (#72940) 2022-06-02 16:15:04 -07:00
Khole a4c3585448
Fix Hive authentication (#72929) 2022-06-02 14:54:26 -07:00
J. Nick Koston 9fbde245d0
Fix performance of logbook entity and devices queries with large MySQL databases (#72898) 2022-06-02 14:54:06 -07:00
Erik Montnemery b97d346df7
Fix reload of MQTT yaml config (#72901) 2022-06-02 11:32:31 -07:00
Allen Porter 8c50c7fbd4
Fix bug in caldav and avoid unnecessary copy of dataclass (#72922) 2022-06-02 08:40:13 -07:00
J. Nick Koston d3b1896a06
Only present history_stats state as unknown if the time is in the future (#72880) 2022-06-02 08:39:53 -07:00
puddly 1c38c20cac
Bump ZHA dependency zigpy from 0.45.1 to 0.46.0 (#72877) 2022-06-02 08:27:12 -07:00
J. Nick Koston f1a31d8d33
Add support for async_remove_config_entry_device to unifiprotect (#72742)
* Add support for async_remove_config_entry_device to unifiprotect

* tweaks

* tweaks

* more cleanups

* more cleanups

* fix unhelpful auto import

* add coverage

* fix mac formatting

* collapse logic
2022-06-02 08:26:08 -07:00
Matrix 9192d0e972
Bump yolink-api to 0.0.6 (#72903)
* Bump yolink-api to 0.0.6

* update testcase
2022-06-02 17:21:22 +02:00
Erik Montnemery b89cd37de8
Remove dead code from template fan (#72917) 2022-06-02 08:19:15 -07:00
epenet fc8727454a
Use Mapping for async_step_reauth (p-s) (#72766) 2022-06-02 14:28:14 +02:00
epenet 756988fe20
Use Mapping for async_step_reauth (f-o) (#72764) 2022-06-02 14:17:09 +02:00
Robert Hillis 14f47c7450
Bump aiopyarr to 2022.6.0 (#72870) 2022-06-02 14:06:59 +02:00
J. Nick Koston cd590c79e2
Fix migration of MySQL data when InnoDB is not being used (#72893)
Fixes #72883
2022-06-02 14:01:06 +02:00
Marc Mueller 62a5854e40
Fix bare except (#72906) 2022-06-02 13:58:04 +02:00
epenet c2fdac2014
Allow non-async functions in device automation (#72147)
* Remove async requirement for get_capabilities_func

* Add comment

* Remove async requirement for get_automations_func

* Update homeassistant/components/device_automation/__init__.py

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

* Update homeassistant/components/device_automation/__init__.py

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

* Add Exception to type hint

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-06-02 09:06:22 +02:00
J. Nick Koston f79e5e002b
Ensure recorder shuts down when its startup future is canceled out from under it (#72866) 2022-06-01 22:13:09 -07:00
jjlawren d368b9e24f
Remove announce workaround for Sonos (#72854) 2022-06-01 22:12:38 -07:00
J. Nick Koston c6e56c26b3
Fix logbook not setting up with an recorder filter that has empty fields (#72869) 2022-06-01 22:12:00 -07:00
GitHub Action 7746715590 [ci skip] Translation update 2022-06-02 00:27:51 +00:00
Bram Kragten d1a8f1ae40
Update frontend to 20220601.0 (#72855) 2022-06-02 00:04:14 +02:00
Arne Mauer 321394d3e2
Add Particulate Matter 2.5 of ZCL concentration clusters to ZHA component (#72826)
* Add Particulate Matter 2.5 of ZCL concentration clusters to ZHA component

* Fixed black and flake8 test
2022-06-01 18:00:58 -04:00
Aidan Timson 2ba45a9f99
System Bridge 3.x.x (#71218)
* Change to new package and tcp

* Rework integration pt1

* Show by default

* Handle auth error

* Use const

* New version avaliable (to be replaced in future by update entity)

* Remove visible

* Version latest

* Filesystem space use

* Dev package

* Fix sensor

* Add services

* Update package

* Add temperature and voltage

* GPU

* Bump package version

* Update config flow

* Add displays

* Fix displays connected

* Round to whole number

* GPU fan speed in RPM

* Handle disconnections

* Update package

* Fix

* Update tests

* Handle more errors

* Check submodule and return missing uuid in test

* Handle auth error on config flow

* Fix test

* Bump package version

* Handle key errors

* Update package to release version

* Client session in config flow

* Log

* Increase timeout and use similar logic in config flow to init

* 30 secs

* Add test for timeout error

* Cleanup logs

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

* Update tests/components/system_bridge/test_config_flow.py

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

* uuid raise specific error

* Type

* Lambda to functions for complex logic

* Unknown error test

* Bump package to 3.0.5

* Bump package to 3.0.6

* Use typings from package and pydantic

* Use dict()

* Use data listener function and map to models

* Use passed module handler

* Use lists from models

* Update to 3.1.0

* Update coordinator to use passed module

* Improve coordinator

* Add debug

* Bump package and avaliable -> available

* Add version check

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-01 23:54:22 +02:00
kingy444 d6e5c26b24
Add configuration_url to hunterdouglas_powerview (#72837)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-01 07:41:20 -10:00
Rami Mosleh 74e2d5c5c3
Remove deprecated YAML for `transmission` (#72832) 2022-06-01 17:25:49 +02:00
epenet df5285f681
Improve pylint disable rule in zha (#72835) 2022-06-01 16:49:43 +02:00
J. Nick Koston 5d2326386d
Fix logbook spinner never disappearing when all entities are filtered (#72816) 2022-06-01 12:33:46 +02:00
starkillerOG 023990577c
Add Motionblinds WoodShutter support (#72814) 2022-06-01 12:33:13 +02:00
Paulus Schoutsen d57a650290
Don't trigger entity sync when Google Assistant gets disabled (#72805) 2022-06-01 12:12:54 +02:00
J. Nick Koston d8b0376942
Fix purge of legacy database events that are not state changed (#72815) 2022-06-01 11:56:06 +02:00
J. Nick Koston e874a04319
Bump sqlalchemy to 1.4.37 (#72809)
Fixes a bug where reconnects might fail with MySQL 8.0.24+

Changelog: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.37
2022-06-01 10:56:05 +02:00
epenet 1aeba8a9bd
Use Mapping for async_step_reauth in discord (#72812)
* Fix tests

* Cleanup code accordingly
2022-06-01 09:44:22 +02:00
epenet a6db25219d
Use Mapping for async_step_reauth in motioneye (#72769) 2022-06-01 06:58:29 +02:00
Raman Gupta 394442e8a9
Use device_id for zwave_js/replace_failed_node command (#72785) 2022-06-01 06:42:07 +02:00
jjlawren 1ef59d1e73
Cleanup handling of new enqueue & announce features in Sonos (#72801) 2022-05-31 21:39:07 -07:00
Diogo Gomes f6517884b1
Fix #72749 (#72794) 2022-05-31 20:40:42 -07:00
jjlawren 275ea5b150
Support add/next/play/replace enqueue options in Sonos (#72800) 2022-05-31 20:36:45 -07:00
Erik Montnemery 44f332ed5f
Improve cast HLS detection (#72787) 2022-05-31 20:35:56 -07:00
GitHub Action 0df9cc907a [ci skip] Translation update 2022-06-01 00:27:00 +00:00
Paulus Schoutsen 6d74149f22
Sync entities when enabling/disabling Google Assistant (#72791) 2022-05-31 14:58:45 -07:00
Erik Montnemery 02068a2013
Stringify mikrotik device_tracker name (#72788)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-31 11:57:16 -10:00
Michael 3258d572b0
Add re-auth flow to Tankerkoenig (#72682)
* add reauth flow

* add test

* use Mapping for async_step_reauth arguments

* only update changed data

* improve tests

* use different api key to test reauth
2022-05-31 23:46:12 +02:00
J. Nick Koston 856e1144c9
Ensure the statistics_meta table is using the dynamic row format (#72784) 2022-05-31 14:35:28 -07:00
J. Nick Koston c365454afb
Revert "Initial orjson support (#72754)" (#72789)
This was causing the wheels to fail to build. We need
to workout why when we don't have release pressure

This reverts commit d9d22a9556.
2022-05-31 13:51:55 -07:00
epenet 9cea936c22
Use Mapping for async_step_reauth (t-z) (#72767)
* Adjust tailscale

* Adjust tautulli

* Adjust tile

* Adjust tractive

* Adjust trafikverket_ferry

* Adjust trafikverket_train

* Adjust unifiprotect

* Adjust uptimerobot

* Adjust verisure

* Adjust vlc_telnet

* Adjust wallbox

* Adjust watttime

* Adjust yale_smart_alarm
2022-05-31 22:44:06 +02:00
J. Nick Koston 35ee4ad55b
Prevent live logbook from sending state changed events when we only want device ids (#72780) 2022-05-31 13:08:04 -07:00
David F. Mulcahey 7854aaa746
Bump ZHA quirks lib to 0.0.75 (#72765) 2022-05-31 12:24:35 -07:00
J. Nick Koston 935ef79156
Fix queries for logbook context_ids running in the wrong executor (#72778) 2022-05-31 12:24:18 -07:00
J. Nick Koston d9d22a9556
Initial orjson support (#72754) 2022-05-31 12:18:11 -07:00
Aaron Bach a3e1b285cf
Alter RainMachine to not create entities if the underlying data is missing (#72733) 2022-05-31 13:09:07 -06:00
Bram Kragten eda2be8489
Update frontend to 20220531.0 (#72775) 2022-05-31 11:30:33 -07:00
J. Nick Koston 52643d9abc
Add support for async_remove_config_entry_device to isy994 (#72737) 2022-05-31 08:11:44 -10:00
Khole a53aaf696c
Fix hive authentication process (#72719)
* Fix hive authentication process

* Update hive test scripts to add new data
2022-05-31 08:55:00 -07:00
Allen Porter d31e43b980
Bump google-nest-sdm to `2.0.0` and cleanup nest auth implementation in config flow (#72770)
Cleanup nest auth implementaton in config flow
2022-05-31 17:53:36 +02:00
Alexey Zimarev aab3fcad7b
SmartThings issue with unique_id (#72715)
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2022-05-31 16:35:29 +02:00
Erik Montnemery 78cb0e24bc
Improve integration sensor's time unit handling (#72759) 2022-05-31 15:51:38 +02:00
Martin Hjelmare 8140ed724c
Remove mysensors yaml (#72761) 2022-05-31 15:22:31 +02:00
epenet cf27b82d2f
Separate words with underscore in onewire (#72758) 2022-05-31 12:26:15 +02:00
Thijs W 3ea304aaf1
Improve frontier_silicon style (#72752) 2022-05-31 11:56:44 +02:00
J. Nick Koston 5dc4c89acc
Small performance improvement for matching logbook rows (#72750) 2022-05-31 10:41:33 +02:00
epenet ca5f13b576
Allow removing a onewire device (#72710) 2022-05-31 10:40:08 +02:00
epenet 627d6f7803
Ensure description_placeholders is always typed (#72716) 2022-05-31 10:33:34 +02:00
Thijs W db9c586404
Address late comments for frontier silicon (#72745)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-31 09:56:25 +02:00
Erik Montnemery 635d7085cf
Move MQTT config schemas and client to separate modules (#71995)
* Move MQTT config schemas and client to separate modules

* Update integrations depending on MQTT
2022-05-31 09:32:44 +02:00
J. Nick Koston 4ae3929a00
Revert wiz reload on setup_retry discovery (#72743) 2022-05-30 22:52:05 -07:00
J. Nick Koston b3682a5c81
Revert bond reload on setup_retry discovery (#72744) 2022-05-30 22:51:35 -07:00
Raman Gupta 5fdc694325
Bump zwave-js-server-python to 0.37.1 (#72731)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-30 22:05:09 -07:00
Aaron Bach 969b7bd448
Bump simplisafe-python to 2022.05.2 (#72740) 2022-05-30 22:04:53 -07:00
jjlawren 17abbd7f51
Bump plexapi to 4.11.2 (#72729) 2022-05-30 20:56:59 -07:00
Paulus Schoutsen 99f3ca1f08
Add support for announce to play_media (#72566) 2022-05-30 20:41:05 -07:00
Aaron Bach ec44a63a84
Bump regenmaschine to 2022.05.1 (#72735) 2022-05-30 18:58:08 -06:00
J. Nick Koston 587fd05603
Make logbook inherit the recorder filter (#72728) 2022-05-30 17:34:32 -07:00
GitHub Action 362f5720ed [ci skip] Translation update 2022-05-31 00:23:11 +00:00
Aaron Bach 6b3f6e22d0
Fix invalid RainMachine syntax (#72732) 2022-05-30 17:48:42 -06:00
Raman Gupta 565b60210d
Add @lymanepp as codeowner to tomorrowio (#72725) 2022-05-30 18:41:30 -04:00
eyager1 6f8ba7ee2f
Add empty string to list of invalid states (#72590)
Add null state to list of invalid states
2022-05-31 00:32:52 +02:00