Commit graph

20008 commits

Author SHA1 Message Date
epenet
6a370bde34
Adjust imports in samsungtv tests (#120409) 2024-06-25 17:08:10 +02:00
epenet
6e5bc0da94
Improve type hints in cloud tests (#120420) 2024-06-25 17:07:50 +02:00
J. Nick Koston
edaa5c60a7
Small cleanups to ESPHome (#120414) 2024-06-25 17:00:03 +02:00
Aaron Godfrey
f934fea754
Apply all todoist custom project filters for calendar events (#117454)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-25 15:34:54 +02:00
Jan Bouwhuis
aa05f73210
Add fixture to synchronize with debouncer in MQTT tests (#120373)
* Add fixture to synchronze with debouncer in MQTT tests

* Migrate more tests to use the debouncer

* Migrate more tests

* Migrate util tests

* Improve mqtt on_callback test using new fixture

* Improve test_subscribe_error

* Migrate other tests

* Import EnsureJobAfterCooldown from `util.py` but patch `client.py`
2024-06-25 14:26:20 +02:00
J. Nick Koston
b5afc5a7f0
Fix incorrect mocking in ESPHome tests (#120410) 2024-06-25 13:31:50 +02:00
J. Nick Koston
c15718519b
Improve test coverage for ESPHome manager (#120400) 2024-06-25 13:14:11 +02:00
epenet
76e890865e
Adjust imports in cloud tests (#120386) 2024-06-25 13:13:14 +02:00
epenet
cbb3d48bd9
Improve type hints in dsmr tests (#120393) 2024-06-25 13:11:27 +02:00
Brett Adams
de8bccb650
Add services to Teslemetry (#119119)
* Add custom services

* Fixes

* wip

* Test coverage

* Update homeassistant/components/teslemetry/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Add error translations

* Translate command error

* Fix test

* Expand on comment as requested

* Remove impossible cases

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-06-25 12:44:06 +02:00
Erik Montnemery
0545ed8082
Section support for data entry flows (#118369)
* Add expandable support for data entry form flows

* Update config_validation.py

* optional options

* Adjust

* Correct translations of data within sections

* Update homeassistant/components/kitchen_sink/config_flow.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Add missing import

* Update tests/components/kitchen_sink/test_config_flow.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Format code

* Match frontend when serializing

* Move section class to data_entry_flow

* Correct serializing

* Fix import in kitchen_sink

* Move and update test

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-25 11:02:00 +02:00
epenet
3d1ff72a88
Improve type hints in device_automation tests (#120389) 2024-06-25 10:58:10 +02:00
Jan Bouwhuis
1d16cbec96
Move mqtt debouncer to mqtt utils (#120392) 2024-06-25 10:33:58 +02:00
epenet
46ed76df31
Improve type hints in diagnostics tests (#120391) 2024-06-25 10:07:05 +02:00
epenet
f8d5c9144a
Improve type hints in device_tracker tests (#120390) 2024-06-25 10:06:38 +02:00
epenet
7f20c1a489
Improve type hints in demo tests (#120387) 2024-06-25 09:55:59 +02:00
Mr. Bubbles
fd0fee1900
Add button platform to pyLoad integration (#120359) 2024-06-25 08:09:54 +02:00
Mr. Bubbles
59080a3a6f
Strip whitespace characters from token in One-Time-Passwort (OTP) integration (#120380) 2024-06-25 08:00:19 +02:00
Marc Mueller
f1ddf80dff
Fix dlna_dms test RuntimeWarning (#120341) 2024-06-25 03:34:23 +02:00
Michael Hansen
1e16afb43b
Fix pylint error in Google generative AI tests (#120371)
* Fix pylint error

* Add second fix
2024-06-24 16:03:34 -05:00
Michael Hansen
6d917f0242
Don't run timer callbacks for delayed commands (#120367)
* Don't send timer events for delayed commands

* Don't run timer callbacks for delayed commands
2024-06-24 16:21:51 -04:00
starkillerOG
bbb8bb31f9
Only raise Reolink re-auth flow when login fails 3 consecutive times (#120291) 2024-06-24 21:03:41 +02:00
epenet
ea09d0cbed
Use HassKey in cloud integration (#120322) 2024-06-24 21:02:08 +02:00
epenet
b223cb7bb9
Ensure config_entry is added to hass in tests (#120327) 2024-06-24 21:00:12 +02:00
David Knowles
3b79ab6e18
Reduce the amount of data fetched in individual Hydrawise API calls (#120328) 2024-06-24 20:58:54 +02:00
Michael Hansen
46dcf1dc44
Prioritize custom intents over builtin (#120358) 2024-06-24 20:57:56 +02:00
Jan Bouwhuis
a7200a70b2
Set up mqtt tests from client fixture of mqtt entry setup fixture, not both (#120274)
* Fix entry setup and cleanup issues in mqtt tests

* Reduce changes by using mqtt_client_mock alias

* Reduce sleep time where possibe
2024-06-24 19:42:32 +02:00
Mr. Bubbles
1e5f4c2d75
Add additional sensors to pyLoad integration (#120309) 2024-06-24 18:56:33 +02:00
epenet
31157828e1
Improve type hints in cloudflare tests (#120344) 2024-06-24 18:55:36 +02:00
Robert Resch
641507a45a
Add change username endpoint (#109057) 2024-06-24 18:51:19 +02:00
epenet
8bad421a04
Improve type hints in config tests (#120346) 2024-06-24 18:36:57 +02:00
epenet
4089b808c3
Improve type hints in comfoconnect tests (#120345) 2024-06-24 18:33:51 +02:00
Erik Montnemery
d073fd9b37
Improve integration sensor tests (#120326) 2024-06-24 18:33:08 +02:00
epenet
015bc0e172
Use HassKey in homeassistant integration (#120332) 2024-06-24 16:37:07 +02:00
Jan Bouwhuis
85720f9e02
Fix setup and tear down issues for mqtt discovery and config flow tests (#120333)
* Fix setup and tear down issues for mqtt discovery and config flow tests

* Use async callback
2024-06-24 16:20:44 +02:00
Jan Bouwhuis
389b9d1ad6
Make sure ACK's are processed before mqtt tests are teared down (#120329) 2024-06-24 15:16:09 +02:00
Erik Montnemery
a5e6728227
Improve integration sensor tests (#120316) 2024-06-24 14:17:52 +02:00
epenet
b4d0de9c0f
Improve type hints in conversation tests (#120306) 2024-06-24 13:41:55 +02:00
epenet
aef2f7d707
Improve type hints in canary tests (#120305) 2024-06-24 13:34:44 +02:00
epenet
e3806d12f4
Improve type hints in simplisafe tests (#120303) 2024-06-24 13:34:23 +02:00
Mr. Bubbles
237f20de6c
Add DataUpdateCoordinator to pyLoad integration (#120237)
* Add DataUpdateCoordinator

* Update tests

* changes

* changes

* test coverage

* some changes

* Update homeassistant/components/pyload/sensor.py

* use dataclass

* fix ConfigEntry

* fix configtype

* fix some issues

* remove logger

* remove unnecessary else

* revert fixture changes

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-24 12:58:37 +02:00
Joost Lekkerkerker
674dfa6e9c
Add button platform to AirGradient (#119917) 2024-06-24 11:55:48 +02:00
Joost Lekkerkerker
f3a1ca6d54
Add coordinator to Knocki (#120251) 2024-06-24 11:41:33 +02:00
Jason R. Coombs
c04a6cc639
Bump jaraco.abode to 5.1.2 (#117363)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-24 11:37:12 +02:00
Arie Catsman
158c8b8400
Add optional test fixture collection to enphase_envoy diagnostic report (#116242)
* diagnostics_fixtures

* fix codespell errors

* fix merge order and typo

* remove pointless-string-statement
2024-06-24 10:37:32 +02:00
Joost Lekkerkerker
ab9cbf64da
Add sensors to Airgradient (#120286) 2024-06-24 09:54:22 +02:00
Paulus Schoutsen
5c2db162c4
Remove "no API" prompt (#120280) 2024-06-24 08:57:59 +02:00
Luca Angemi
fdade67211
Add device info for Aemet (#120243)
* Update sensor.py

* Update weather.py

* Update sensor.py

* ruff

* add device info to entity

* remove info from sensor

* remove info from weather

* ruff

* amend entity

* Update sensor.py

* Update weather.py

* ruff again

* add DOMAIN

* type unique_id

* Update entity.py

* Update entity.py

* assert

* update tests

* change snapshot
2024-06-24 08:20:34 +02:00
Mr. Bubbles
d095d4e60d
Change suggested data rate unit to Mbit/s in pyLoad (#120275)
Change data rate unit to Mbit/s
2024-06-24 07:53:15 +02:00
Danilo Bargen
66b91a84f9
mystrom: Add MAC and Config URL to devices (#120271)
* Add MAC address to mystrom switch devices

* Add configuration URL to mystrom switch devices
2024-06-23 21:39:58 -04:00