Commit Graph

50622 Commits (b4a6ccfbc8f9107e160cf88d3e8227d4f0324060)

Author SHA1 Message Date
Erik Montnemery b97d346df7
Fix reload of MQTT yaml config (#72901) 2022-06-02 11:32:31 -07:00
nojocodex 8e4321af59
Fix logging & exit code reporting to S6 on HA shutdown (#72921) 2022-06-02 19:49:08 +02: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
Jan Bouwhuis 52561ce076
Update MQTT tests to use the config entry setup (#72373)
* New testframework and tests for fan platform

* Merge test_common_new to test_common

* Add alarm_control_panel

* Add binary_sensor

* Add button

* Add camera

* Add climate

* Add config_flow

* Add cover

* Add device_tracker_disovery

* Add device_trigger

* Add diagnostics

* Add discovery

* Add humidifier

* Add init

* Add lecacy_vacuum

* Add light_json

* Add light_template

* Add light

* Add lock

* Add number

* Add scene

* Add select

* Add sensor

* Add siren

* Add state_vacuum

* Add subscription

* Add switch

* Add tag

* Add trigger

* Add missed tests

* Add another missed test

* Add device_tracker

* Remove commented out code

* Correct tests according comments

* Improve mqtt_mock_entry and recover tests

* Split fixtures with and without yaml setup

* Update fixtures manual_mqtt

* Update fixtures mqtt_json

* Fix test tasmota

* Update fixture mqtt_room

* Revert fixture changes, improve test

* re-add test
2022-06-02 14:24:46 +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
Guido Schmitz 219200b340
Fix test_hass_stop in devolo Home Network (#72833)
Fix test_hass_stop
2022-06-02 13:59:29 +02:00
Marc Mueller 62a5854e40
Fix bare except (#72906) 2022-06-02 13:58:04 +02:00
Raman Gupta 6ccaf33bdf
Attempt to fix flaky tomorrowio test (#72890)
* Fix flaky tomorrowio test

* reset mock outside context manager

* add to hass outside of context manager
2022-06-02 03:16:00 -04: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
epenet 999b3a4f7b
Adjust astroid import in pylint plugin (#72841)
* import nodes from astroid

* Update remaining pylint plugins

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-06-02 07:48:59 +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
epenet fe5fe148fa
Add mypy checks to pylint plugins (#72821) 2022-06-02 00:06:19 +02: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
Franck Nijhof 05296fb86e
Merge branch 'master' into dev 2022-06-01 20:14:54 +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
Franck Nijhof 3d75b0776f
Merge pull request #72824 from home-assistant/rc 2022-06-01 15:21:30 +02:00
epenet 4c7837a576
Enforce type hints for config_flow (#72756)
* Enforce type hints for config_flow

* Keep astroid migration for another PR

* Defer elif case

* Adjust tests

* Use ancestors

* Match on single base_class

* Invert for loops

* Review comments

* slots is new in 3.10
2022-06-01 13:09:53 +02:00
Franck Nijhof 39da7a93ec
Bumped version to 2022.6.0 2022-06-01 13:04:12 +02:00
J. Nick Koston bf47d86d30
Fix logbook spinner never disappearing when all entities are filtered (#72816) 2022-06-01 13:03:43 +02:00
J. Nick Koston 2f3359f376
Fix purge of legacy database events that are not state changed (#72815) 2022-06-01 13:03:39 +02:00
starkillerOG 1139136365
Add Motionblinds WoodShutter support (#72814) 2022-06-01 13:03:36 +02:00
J. Nick Koston 9e723f9b6d
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 13:03:32 +02:00
Paulus Schoutsen 9bd2e3ad7c
Don't trigger entity sync when Google Assistant gets disabled (#72805) 2022-06-01 13:03:28 +02:00
jjlawren 384cb44d15
Cleanup handling of new enqueue & announce features in Sonos (#72801) 2022-06-01 13:03:25 +02:00
Christopher Bailey 1274448de1
Add package constraint for pydantic (#72799)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-01 13:03:20 +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
dependabot[bot] ee861c8ea5
Bump actions/cache from 3.0.2 to 3.0.3 (#72817)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 11:35:36 +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
Erik Montnemery 9ac0c5907f
Add test for mikrotik device tracker with numerical device name (#72808)
Add mikrotik test for numerical device name
2022-06-01 09:39:56 +02:00
Marc Mueller 4902af2f4e
Fix conftest for pylint plugin (#72777) 2022-06-01 09:22:47 +02:00
epenet 577be70da9
Add new method to pylint type-hint plugin (#72757)
Enforce type hints on remove_config_entry_device
2022-06-01 08:38:48 +02:00