Commit graph

78427 commits

Author SHA1 Message Date
Ishima
013c117570
Add Xiaomi Air Purifier Pro H EU (zhimi.airpurifier.vb2) (#119149) 2024-06-11 07:06:25 +02:00
Ruben Bokobza
35347929ca
Bump pyElectra to 1.2.1 (#118958) 2024-06-11 07:04:25 +02:00
middlingphys
cceb0d8b47
Fix typo in Ecovacs integration (#119346) 2024-06-11 06:56:31 +02:00
Jan Bouwhuis
dd6cfdf731
Bump incomfort backend client to v0.6.2 (#119330) 2024-06-11 06:55:05 +02:00
Joakim Plate
958a456275
Allow source sensor to be changed in threshold helper (#119157)
* Allow source sensor to be changed in threshold helper

* Make sure old device link is removed on entry change

* Add test case for changed association
2024-06-11 06:41:29 +02:00
J. Nick Koston
f02383e10d
Bump uiprotect to 0.13.0 (#119344) 2024-06-10 22:50:44 -05:00
Jake Martin
9bb9792607
Move runtime_data deletion after unload (#119224)
* Move runtime_data deletion after unload.

Doing this before unload means we can't use, eg. the coordinator, during teardown.

* Re-order config entry on unload

* Add test

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-06-10 22:11:07 -04:00
J. Nick Koston
3308f07d4b
Speed up generating large stats results (#119210)
* Speed up generating large stats results

* naming

* fix type

* fix type

* tweak

* tweak

* delete unused code
2024-06-10 21:22:59 -04:00
J. Nick Koston
0149698002
Bump uiprotect to 0.10.1 (#119327)
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-06-10 20:03:23 -05:00
Jan Bouwhuis
ea6729ab5f
Fix enigma2 option flow (#119335) 2024-06-10 23:43:30 +02:00
swcloudgenie
68a9f3a048
Fix AladdinConnect OAuth domain (#119336)
fix aladdin connect oauth domain
2024-06-10 23:40:24 +02:00
J. Nick Koston
8855289d9c
Migrate august to use yalexs 6.0.0 (#119321) 2024-06-10 21:50:11 +02:00
Erik Montnemery
def9d5b101
Fix statistic_during_period after core restart (#119323) 2024-06-10 21:44:55 +02:00
Álvaro Fernández Rojas
632f136c02
Update Airzone Cloud to v0.5.2 and add fan speeds to Zones (#119314)
* Update aioairzone-cloud to v0.5.2
* airzone_cloud: climate: add zone fan speeds support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-10 21:18:48 +02:00
Bas Brussee
b30a924e03
Add price service call to Tibber (#117366)
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2024-06-10 21:16:51 +02:00
Sid
6184fd26d3
Add options flow to enigma2 (#115795)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-10 21:13:12 +02:00
Brett Adams
4a9ebd9af1
Refactor helpers and bump Teslemetry (#119246) 2024-06-10 21:12:09 +02:00
Quentin
04c8a5574a
Fix elgato light color detection (#119177) 2024-06-10 20:58:15 +02:00
Jan Bouwhuis
51d78c3c25
Improve incomfort binary sensors (#119292)
* Improve incomfort binary_sensor, add is_burning, is_pumping and is_tapping

* Update test snapshot

* Use helper for fault code label name

* Update tests

* Remove extra state attribute

* Make default Fault `none` to supprt localization

* Update snapshot
2024-06-10 20:57:36 +02:00
osohotwateriot
53d5a65f2c
Add OSO Energy temperature sensors (#119301) 2024-06-10 20:48:41 +02:00
Cyr-ius
8d3e3faf02
Use runtime_data in Husqvarna Automower (#119309) 2024-06-10 20:46:29 +02:00
epenet
650cf13bca
Improve type hints in aiohttp_client helper tests (#119300) 2024-06-10 20:31:19 +02:00
J. Nick Koston
612743077a
Improve workday test coverage (#119259) 2024-06-10 20:26:52 +02:00
epenet
eb6af2238c
Improve type hints in registry helper tests (#119302) 2024-06-10 20:25:34 +02:00
karwosts
aa419686cb
Fix statistic_during_period wrongly prioritizing ST statistics over LT (#115291)
* Fix statistic_during_period wrongly prioritizing ST statistics over LT

* comment

* start of a test

* more testcases

* fix sts insertion range

* update from review

* remove unneeded comments

* update logic

* min/mean/max testing
2024-06-10 20:23:21 +02:00
Bram Kragten
f75cc1da24
Update frontend to 20240610.0 (#119320) 2024-06-10 20:22:04 +02:00
epenet
ac08cd1201
Revert SamsungTV migration (#119234) 2024-06-10 20:20:25 +02:00
Jan-Philipp Benecke
508564ece2
Add more debug logging to Ping integration (#119318) 2024-06-10 20:09:39 +02:00
Josef Zweck
42b984ee4f
Migrate lamarzocco to lmcloud 1.1 (#113935)
* migrate to 1.1

* bump to 1.1.1

* fix newlines docstring

* cleanup entity_description fns

* strict generics

* restructure import

* tweaks to generics

* tweaks to generics

* removed exceptions

* move initialization, websocket clean shutdown

* get rid of duplicate entry addign

* bump lmcloud

* re-add calendar, auto on/off switches

* use asdict for diagnostics

* change number generator

* use name as entry title

* also migrate title

* don't migrate title

* remove generics for now

* satisfy mypy

* add s

* adapt

* migrate entry.runtime_data

* remove auto/onoff

* add issue on wrong gw firmware

* silence mypy

* remove breaks in ha version

* parametrize issue test

* Update update.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* regen snapshots

* mapping steam level

* remove commented code

* fix typo

* coderabbitai availability tweak

* remove microsecond moving

* additonal schedule for coverage

* be more specific on date offset

* keep mappings the same

* config_entry imports sharpened

* remove unneccessary testcase, clenup date moving

* remove superfluous calendar testcase from diag

* guard against future version downgrade

* use new entry for downgrade test

* switch to lmcloud 1.1.11

* revert runtimedata

* revert runtimedata

* version to helper

* conistent Generator

* generator from typing_extensions

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-10 19:59:39 +02:00
Jan Bouwhuis
b7f74532dc
Fix incomfort water heater return translated fault code (#119311) 2024-06-10 19:30:12 +02:00
Jan Bouwhuis
d6bcb1c5fd
Add HVACAction to incomfort climate devices (#119315)
* Add HVACAction to incomfort climate devices

* Use IDLE state when not heating
2024-06-10 19:23:12 +02:00
J. Nick Koston
d74d418c06
Bump uiprotect to 0.4.1 (#119308) 2024-06-10 18:58:26 +02:00
Simone Chemelli
404ff9fd69
bump aiobotocore to 2.13.0 (#119297)
bump aiobotocore
2024-06-10 18:57:25 +03:00
tronikos
5f9455e0fd
Log errors in Intent.async_handle (#119182)
* Log errors in Intent.async_handle

* log exception stack trace

* Update homeassistant/helpers/intent.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-06-10 11:33:12 -04:00
William Taylor
30fab7b807
Add support for animal detection in unifiprotect (#116290)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-10 10:16:36 -05:00
chammp
52379ad7cb
Add code_format_template to template locks (#106947)
* Add code_format to template locks

* Replace code_format with code_format_template

* Add test case for template eval to None

* Apply suggestion to not call super()

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

* Add more negative tests

* Handle template render errors

* Better error message

* Add custom test lock config for code format

* Add type hints from upstream

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-06-10 16:54:17 +02:00
epenet
c896458fcf
Fix namespace-import pylint warning in components (#119299) 2024-06-10 15:55:08 +02:00
epenet
fbaba3753b
Fix root-import pylint warning in components (#119294)
* Fix root-import pylint warning in components

* Adjust

* Adjust
2024-06-10 15:14:49 +02:00
epenet
94b9ae14c9
Use Registry fixture in zwave_js tests (#119277) 2024-06-10 15:00:05 +02:00
epenet
6733f86c61
Use service_calls fixture in helper tests (#119275)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-10 14:57:34 +02:00
epenet
9c12067565
Don't run tests if lint-ruff-format fails (#119291) 2024-06-10 14:55:47 +02:00
Franck Nijhof
bedff29165
Fix persistence on OpenWeatherMap raised repair issue (#119289) 2024-06-10 14:55:28 +02:00
Sébastien Clément
80b2b05bd8
Change qBittorrent lib to qbittorrentapi (#113394)
* Change qBittorrent lib to qbittorrentapi

* Fix tests

* Convert qbittorrent service to new lib

* Add missing translation key

* Catch APIConnectionError in service call

* Replace type ignore by Any typing

* Remove last type: ignore

* Use lib type for torrent_filter

* Change import format

* Fix remaining Any type

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-06-10 14:27:20 +02:00
epenet
960d1289ef
Avoid references to websocket_api.const in core and other components (#119285) 2024-06-10 13:49:44 +02:00
epenet
2e3c3789d3
Use relative imports in tests [s-z] (#119283) 2024-06-10 13:33:15 +02:00
epenet
ac588ddc75
Use relative imports in tests [j-r] (#119282) 2024-06-10 13:32:31 +02:00
epenet
94720fd015
Fix root-import pylint warning in dlna_dmr tests (#119286) 2024-06-10 13:31:29 +02:00
epenet
8cbfc5a58b
Use service_calls fixture in arcam_fmj tests (#119274) 2024-06-10 13:09:51 +02:00
epenet
b8e57f6174
Use relative imports in tests [a-i] (#119280) 2024-06-10 12:52:34 +02:00
epenet
e818de1da8
Use service_calls fixture in scaffold (#119266) 2024-06-10 10:44:00 +02:00