21208 Commits

Author SHA1 Message Date
Andrew Jackson
ac223e64f9
Migrate Mastodon unique id (#123877)
* Migrate unique id

* Fix unique id check

* Switch to minor version and other fixes
2024-08-14 12:55:59 +02:00
epenet
d50bac3b3e
Improve type hints in rainmachine tests (#123881) 2024-08-14 12:52:09 +02:00
epenet
6626c63bb5
Improve type hints in recollect_waste tests (#123882) 2024-08-14 12:51:52 +02:00
epenet
7fe2f175aa
Improve type hints in ridwell tests (#123886) 2024-08-14 12:50:51 +02:00
epenet
13b071fd72
Improve type hints in risco tests (#123887) 2024-08-14 12:50:29 +02:00
epenet
7ff368fe0d
Improve type hints in sharkiq tests (#123888) 2024-08-14 12:50:08 +02:00
epenet
f8879a51fe
Improve type hints in sma tests (#123889) 2024-08-14 12:49:53 +02:00
epenet
57902fed22
Improve type hints in smart_meter_texas tests (#123890) 2024-08-14 12:49:27 +02:00
epenet
24a8060f43
Improve type hints in sonos tests (#123891) 2024-08-14 12:48:36 +02:00
epenet
165ec62405
Improve type hints in ssdp tests (#123892) 2024-08-14 12:48:10 +02:00
epenet
a712eca70a
Improve type hints in stream tests (#123894) 2024-08-14 12:47:38 +02:00
epenet
36f9b69923
Improve type hints in rfxtrx tests (#123885) 2024-08-14 12:33:26 +02:00
epenet
bd509469ab
Improve type hints in reolink tests (#123883) 2024-08-14 12:16:38 +02:00
Erik Montnemery
b7bbc938d3
Drop violating rows before adding foreign constraints in DB schema 44 migration (#123454)
* Drop violating rows before adding foreign constraints

* Don't delete rows with null-references

* Only delete rows when integrityerror is caught

* Move restore of dropped foreign key constraints to a separate migration step

* Use aliases for tables

* Update homeassistant/components/recorder/migration.py

* Update test

* Don't use alias for table we're deleting from, improve test

* Fix MySQL

* Update instead of deleting in case of self references

* Improve log messages

* Batch updates

* Add workaround for unsupported LIMIT in PostgreSQL

* Simplify

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-08-14 09:31:37 +02:00
J. Nick Koston
f14d5ba5f2
Bump yalexs to 8.0.2 (#123817) 2024-08-13 14:06:38 -05:00
Joost Lekkerkerker
493859e589
Add update platform to AirGradient (#123534) 2024-08-13 18:44:12 +02:00
epenet
ba54a19d4b
Simplify mock_tts_cache_dir_autouse fixture (#123783) 2024-08-13 18:01:06 +02:00
epenet
679baddd3d
Improve type hints in openalpr_cloud tests (#123812) 2024-08-13 16:08:36 +02:00
epenet
e8157ed9a2
Improve type hints in otbr tests (#123814) 2024-08-13 16:08:15 +02:00
epenet
4cc3f7211b
Improve type hints in openuv tests (#123813) 2024-08-13 16:07:17 +02:00
epenet
135f15fdc3
Improve type hints in openai_conversation tests (#123811) 2024-08-13 16:01:24 +02:00
epenet
04b1d2414d
Improve type hints in mobile_app tests (#123793) 2024-08-13 15:19:08 +02:00
epenet
ae74fdf252
Improve type hints in nzbget tests (#123798) 2024-08-13 14:57:24 +02:00
epenet
2c4b7c2577
Improve type hints in knx tests (#123787) 2024-08-13 13:32:44 +02:00
Matthias Alphart
b3d1d79a49
Update xknx to 3.1.0 and fix climate read only mode (#123776) 2024-08-13 13:28:37 +02:00
epenet
8e0dfbcd13
Improve type hints in modbus tests (#123795) 2024-08-13 13:15:35 +02:00
Louis Christ
30994710e6
Fix status update loop in bluesound integration (#123790)
* Fix retry loop for status update

* Use 'available' instead of _is_online

* Fix tests
2024-08-13 12:55:01 +02:00
epenet
193a7b7360
Improve type hints in dsmr tests (#123785) 2024-08-13 12:18:59 +02:00
epenet
e15ac2fbe0
Improve type hints in elevenlabs tests (#123786) 2024-08-13 12:10:15 +02:00
epenet
4ceb9b9dbf
Improve type hints in anthropic tests (#123784) 2024-08-13 11:59:48 +02:00
epenet
3660c2dbb4
Improve type hints in mailgun tests (#123789) 2024-08-13 11:59:22 +02:00
epenet
2b968dfd9a
Improve type hints in mfi tests (#123792) 2024-08-13 11:56:55 +02:00
epenet
5f694d9a84
Improve type hints in mochad tests (#123794) 2024-08-13 11:56:18 +02:00
Erik Montnemery
dc462aa529
Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
epenet
416d2fb82a
Improve type hints in locative tests (#123643) 2024-08-12 21:55:44 +02:00
epenet
b0d1d7bdb2
Improve type hints in lcn tests (#123648) 2024-08-12 21:53:32 +02:00
G Johansson
178cb0659a
Guard for no discovery info in command_line (#123717) 2024-08-12 21:35:02 +02:00
G Johansson
f46fe7eeb2
Remove deprecated yaml import for velux (#123724) 2024-08-12 21:32:28 +02:00
G Johansson
d8b13c8c02
Remove deprecated yaml import for gpsd (#123725) 2024-08-12 21:31:42 +02:00
G Johansson
05c4b1a6a9
Remove deprecated logi_circle integration (#123727) 2024-08-12 21:31:10 +02:00
Jan Bouwhuis
21987a67e7
Cleanup unneeded assignment of hass property on MQTT Template objects (#123706)
* Cleanup unneeded assignment of hass property on MQTT Template objects

* Commented out code and unneeded checks

* Consistent assign hass to Template in mqtt tests

* Remove unused hass attribute

* Missed line
2024-08-12 19:20:21 +02:00
Cyrill Raccaud
5cb9901134
Cleaner unit tests for Swiss public transport (#123660)
cleaner unit tests
2024-08-12 16:19:36 +02:00
J. Nick Koston
b20623447e
Ensure HomeKit connection is kept alive for devices that timeout too quickly (#123601) 2024-08-12 14:54:57 +02:00
Barry vd. Heuvel
81faf1b582
Add homematicip_cloud service set cooling home (#121943)
* [homematicip_cloud] Add service to set cooling mode

* Create seperate test for cooling

* Rename service to set_home_cooling_mode

* Raise exception when accesspoint not found
2024-08-12 14:01:12 +02:00
epenet
ecf22e4c4f
Improve type hints in logbook tests (#123652) 2024-08-12 13:29:38 +02:00
Joost Lekkerkerker
e8d7eb05ae
Delete unused snapshots (#123656)
* Delete unused snapshots

* Delete unused snapshots
2024-08-12 13:28:09 +02:00
Cyrill Raccaud
0803ac9b0b
Add Swiss public transport fetch connections service (#114671)
* add service to fetch more connections

* improve error messages

* better errors

* wip

* fix service register

* add working tests

* improve tests

* temp availability

* test availability

* remove availability test

* change error type for coordinator update

* fix missed coverage

* convert from entity service to integration service

* cleanup changes

* add more tests for the service
2024-08-12 11:26:42 +02:00
epenet
0bb8c4832d
Enable raise-within-try (TRY301) rule in ruff (#123351) 2024-08-12 09:16:33 +02:00
G Johansson
401e36b885
Remove deprecated yaml import from Ecovacs (#123605) 2024-08-12 09:09:51 +02:00
G Johansson
6343a086e4
Remove deprecated process sensor from System monitor (#123616) 2024-08-12 09:08:40 +02:00