Commit Graph

18124 Commits (8e112c04fb5454be64efe9de12b2ceb34f00cc8a)

Author SHA1 Message Date
Erik Montnemery 4bb6787909
Use real devices in button device action tests (#102717) 2023-10-24 23:39:47 +02:00
Erik Montnemery a4487637ef
Use real devices in alarm_control_panel device action tests (#102716) 2023-10-24 23:39:37 +02:00
Erik Montnemery 2e9a3e8c8e
Use real devices in humidifier device action tests (#102721) 2023-10-24 23:39:14 +02:00
Erik Montnemery e1394d720f
Use real devices in vacuum device action tests (#102729) 2023-10-24 23:38:35 +02:00
Erik Montnemery 02a83740cc
Use real devices in light device action tests (#102722) 2023-10-24 21:38:24 +00:00
Erik Montnemery 69ce85d5af
Use real devices in select device action tests (#102726) 2023-10-24 23:38:19 +02:00
Erik Montnemery e708faa4d6
Use real devices in vacuum device condition tests (#102715) 2023-10-24 23:38:01 +02:00
Erik Montnemery e761d5715b
Use real devices in switch device condition tests (#102714) 2023-10-24 21:37:48 +00:00
Erik Montnemery b5a6e6b9d5
Use real devices in sensor device condition tests (#102713) 2023-10-24 23:37:36 +02:00
Erik Montnemery ff60a8072e
Use real devices in select device condition tests (#102712) 2023-10-24 23:37:16 +02:00
Erik Montnemery 1b61cd9179
Use real devices in remote device condition tests (#102711) 2023-10-24 23:36:31 +02:00
Erik Montnemery 2049d892ba
Use real devices in media_player device condition tests (#102710) 2023-10-24 23:35:34 +02:00
Erik Montnemery 0e8bd9805a
Use real devices in humidifier device condition tests (#102709) 2023-10-24 23:34:31 +02:00
Erik Montnemery 3ed67f134f
Use real devices in fan device condition tests (#102708) 2023-10-24 23:32:56 +02:00
Erik Montnemery 9cf9b36637
Use real devices in device_tracker device condition tests (#102707) 2023-10-24 23:31:49 +02:00
Erik Montnemery 14485af22d
Use real devices in cover device condition tests (#102706) 2023-10-24 23:30:33 +02:00
Erik Montnemery bead989e7f
Use real devices in climate device condition tests (#102705) 2023-10-24 23:29:44 +02:00
Erik Montnemery 9d3cdc85ca
Use real devices in binary_sensor device condition tests (#102704) 2023-10-24 23:28:29 +02:00
Erik Montnemery 4d83cffb39
Use real devices in alarm_control_panel device condition tests (#102703) 2023-10-24 23:27:29 +02:00
Erik Montnemery 56ee1753ec
Use real devices in number device action tests (#102724) 2023-10-24 23:26:12 +02:00
Erik Montnemery 0ce7f44294
Use real devices in water_heater device action tests (#102730) 2023-10-24 23:25:14 +02:00
TheJulianJES fd8fdba7e8
Replace ZHA quirk class matching with quirk ID matching (#102482)
* Use fixed quirk IDs for matching instead of quirk class

* Change tests for quirk id (WIP)

* Do not default `quirk_id` to `quirk_class`

* Implement test for checking if quirk ID exists

* Change `quirk_id` for test slightly (underscore instead of dot)
2023-10-24 17:18:10 -04:00
Bouwe Westerdijk a5461a9a90
Bump plugwise to v0.33.2 (#102671) 2023-10-24 23:11:16 +02:00
Bram Kragten f5a6c88051
Don't load themes in safe mode (#102683) 2023-10-24 23:00:14 +02:00
Allen Porter 0b8f48205a
Add Todoist To-do list support (#102633)
* Add todoist todo platform

* Fix comment in todoist todo platform

* Revert CalData cleanup and logging

* Fix bug in fetching tasks per project

* Add test coverage for creating active tasks

* Fix update behavior on startup
2023-10-24 22:47:26 +02:00
Erik Montnemery ee1007abdb
Use real devices in wemo device trigger tests (#102699) 2023-10-24 22:44:50 +02:00
Erik Montnemery 2807c9eaca
Use real devices in vacuum device trigger tests (#102698) 2023-10-24 22:43:34 +02:00
Erik Montnemery d8baa38751
Use real devices in update device trigger tests (#102697) 2023-10-24 22:42:44 +02:00
Erik Montnemery 8737d84d30
Use real devices in switch device trigger tests (#102696) 2023-10-24 22:41:27 +02:00
Erik Montnemery 82cc62416e
Use real devices in sensor device trigger tests (#102695) 2023-10-24 22:37:44 +02:00
Erik Montnemery 952f40a181
Use real devices in alarm_control_panel device trigger tests (#102676) 2023-10-24 22:33:08 +02:00
Erik Montnemery eac1d47ec6
Use real devices in media_player device trigger tests (#102691) 2023-10-24 22:31:16 +02:00
Erik Montnemery f9fa1edabf
Use real devices in lock device trigger tests (#102690) 2023-10-24 22:30:07 +02:00
Erik Montnemery 691de148cf
Use real devices in light device trigger tests (#102689) 2023-10-24 21:58:37 +02:00
Erik Montnemery 6d1d3f4207
Use real devices in device_tracker device trigger tests (#102685) 2023-10-24 21:58:22 +02:00
Erik Montnemery 6edbee75f0
Use real devices in kodi device trigger tests (#102688) 2023-10-24 21:58:06 +02:00
Erik Montnemery cedade15ef
Use real devices in humidifier device trigger tests (#102687) 2023-10-24 21:58:01 +02:00
Erik Montnemery 51f6dac97f
Use real devices in fan device trigger tests (#102686) 2023-10-24 21:57:57 +02:00
Erik Montnemery 4536720540
Use real devices in device_automation device trigger tests (#102684) 2023-10-24 21:57:42 +02:00
Erik Montnemery ec3596e85d
Use real devices in cover device trigger tests (#102681) 2023-10-24 21:57:33 +02:00
Erik Montnemery 13be486d61
Use real devices in climate device trigger tests (#102680) 2023-10-24 21:57:22 +02:00
Erik Montnemery 223abb6dca
Use real devices in button device trigger tests (#102679) 2023-10-24 21:57:14 +02:00
Erik Montnemery acc5edb088
Use real devices in binary_sensor device trigger tests (#102678) 2023-10-24 21:56:53 +02:00
Tomáš Bedřich d25b4aae14
Add ZHA cover tilt (#102072)
* cover tilt reimplementation

* rework tilt test

* Fix ZHA cover tests

* Match ZHA cover tilt code-style with the rest

* Increase coverage for ZHA cover, optimize update

---------

Co-authored-by: josef109 <josefglaze@gmail.com>
2023-10-24 15:40:41 -04:00
Erik Montnemery f733f20834
Use real devices in arcam_fmj device trigger tests (#102677) 2023-10-24 13:39:16 -05:00
Bouwe Westerdijk 8c3ae1b30c
Add hvac_modes property to Plugwise (#102636)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-10-24 17:53:55 +02:00
Joost Lekkerkerker 9600c7fac1
Add workout calendar to Withings (#102589) 2023-10-24 16:38:11 +02:00
Erik Montnemery 97cc05d0b4
Make it possible to restart core in safe mode (#102606) 2023-10-24 14:47:58 +02:00
Erik Montnemery 46322a0f59
Add improv_ble integration (#102129)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-24 14:19:19 +02:00
Rami Mosleh fea15148a1
Remove scan_interval from transmission (#98858)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-10-24 14:17:46 +02:00
Erik Montnemery e20d4abfe1
Test extra javascript functionality in frontend (#102643) 2023-10-24 11:31:16 +02:00
Erik Montnemery 421832e09c
Remove unused test fixture from frontend tests (#102642) 2023-10-24 11:13:44 +02:00
Joost Lekkerkerker b42c47e800
Add last workout sensors to Withings (#102541)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-24 11:07:47 +02:00
Erik Montnemery b953f2998c
Rename the safe_mode integration to recovery_mode (#102581)
* Rename safe mode integration to recovery mode

* Update code
2023-10-24 09:11:14 +02:00
Jan Bouwhuis 6372bc3aaa
Fix missed case alexa light attr can be None (#102612)
* Fix missed cased alexa light attr can be None

* Add test
2023-10-24 00:20:03 +02:00
Allen Porter 5d430f53cd
Add todo component (#100019) 2023-10-23 22:53:00 +02:00
Erik Montnemery c481fdb7d0
Rename safe mode to recovery mode (#102580) 2023-10-23 20:33:08 +02:00
Erik Montnemery 7a009ed6cd
Don't duplicate core services in hassio (#102593) 2023-10-23 20:26:56 +02:00
Michael Hansen a52761171f
No cooldown when wake words have the same id (#101846)
* No cooldown when wake words have the same id

* Use wake word entity id in cooldown decision
2023-10-23 13:12:34 -04:00
Bouwe Westerdijk c7d2499a52
Bump plugwise to v0.33.1 (#102052) 2023-10-23 15:47:12 +02:00
Guido Schmitz 04c0bca487
Remove name from device info in devolo Home Network (#102585) 2023-10-23 14:00:47 +02:00
Joost Lekkerkerker 42c062de68
Only add Withings sleep sensors when we have data (#102578)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-23 12:59:13 +02:00
Joost Lekkerkerker 4c99d2607f
Fix fibaro tests (#102575) 2023-10-23 11:04:21 +02:00
Maikel Punie 109819e9cd
Only allow a single duotecno config entry (#102478) 2023-10-23 10:58:11 +02:00
Joost Lekkerkerker a6ade59133
Make Withings sleep sensor only show last night (#101993) 2023-10-23 10:39:17 +02:00
Paarth Shah 30ba78cf82
Fix resolving Matrix room aliases (#101928) 2023-10-23 10:35:41 +02:00
Rami Mosleh a2bc2bf8a0
Remove name from Transmission config flow (#102216)
* Remove name key from Transmission

* Remove name variable completely

* remove name error from strings

* Change entry title to default name
2023-10-23 09:21:15 +02:00
Joost Lekkerkerker 54ba376b4b
Make Withings bed presence sensor dynamic (#102058)
* Make Withings bed presence sensor dynamic

* Make Withings bed presence sensor dynamic

* Update homeassistant/components/withings/binary_sensor.py

Co-authored-by: J. Nick Koston <nick@koston.org>

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-23 09:01:58 +02:00
J. Nick Koston 268425b5e3
Recover from previously failed statistics migrations (#101781)
* Handle statistics columns being unmigrated from previous downgrades

If the user downgraded HA from 2023.3.x to an older version without
restoring the database and they upgrade again with the same database
they will have unmigrated statistics columns since we only migrate them
once.

As its expensive to check, we do not want to check every time
at startup, so we will only do this one more time since the
risk that someone will downgrade to an older version is very
low at this point.

* add guard to sqlite to prevent re-migrate

* test

* move test to insert with old schema

* use helper

* normalize timestamps

* remove

* add check

* add fallback migration

* add fallback migration

* commit

* remove useless logging

* remove useless logging

* do the other columns at the same time

* coverage

* dry

* comment

* Update tests/components/recorder/test_migration_from_schema_32.py
2023-10-22 23:34:43 -04:00
J. Nick Koston b980ed3eac
Avoid more device_class lookups for number entities when writing state (#102381) 2023-10-22 23:55:13 +02:00
Joost Lekkerkerker a97e34f28e
Add Nephelometry sensor to waqi (#102298) 2023-10-22 23:50:40 +02:00
Joost Lekkerkerker 04b883a8e9
Add activity sensors to Withings (#102501)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-22 23:47:18 +02:00
Mike Degatano c8007b841b
Add exclude DB option to backup service call (#101958) 2023-10-22 23:40:44 +02:00
Robert Svensson 721c45b7a3
Rework UniFi client configuration (#99483) 2023-10-22 23:39:54 +02:00
rappenze 37fdb4950a
Refactor fibaro scene test (#102452) 2023-10-22 23:36:41 +02:00
Jan Bouwhuis c2abc3dcec
Fix brightness and color_temp can be None for alexa light entities (#102554)
* Fix brightness and color_temp can be None in alexa

* Add test
2023-10-22 23:34:04 +02:00
Joakim Plate 7d2fa5bf60
Correct range for nibe_heatpump numbers (#102553) 2023-10-22 22:39:40 +02:00
Joost Lekkerkerker 2dfb3ba693
Bump python-opensky to 0.2.1 (#102467) 2023-10-22 22:00:14 +02:00
Joost Lekkerkerker e3b238861d
Clean up withings tests (#102548) 2023-10-22 21:58:30 +02:00
Joost Lekkerkerker 3f88c518a5
Use translated name for entity id for Picnic (#97230) 2023-10-22 21:39:01 +02:00
Joost Lekkerkerker 877410bb9d
Add serial number to Elgato (#102524)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-10-22 20:32:02 +02:00
wittypluck b79eae2e94
Update Unifi bandwidth sensors (#101598)
* Change bandwidth sensors device class, state class, unit of measurement, icon

* Reformat imports

* Reformat imports

* Revert suggested_unit_of_measurement. Add unit tests.
2023-10-22 17:14:49 +02:00
Hessel 06a2664a07
Wallbox Improve Testing (#102519) 2023-10-22 16:22:35 +02:00
Erik Montnemery 1621310ba7
Add serial_number to device registry entries (#102334)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-22 15:14:44 +02:00
J. Nick Koston b3bd34a024
Avoid dispatching same state to passive bluetooth entities (#102430) 2023-10-22 14:08:28 +02:00
Allen Porter c4f562ff6a
Reduce unnecessary fitbit RPCs on startup (#102504)
* Reduce unnecessary fitbit RPCs on startup

* Update comment about racing user profile rpcs
2023-10-21 22:00:40 -07:00
J. Nick Koston f9dbddc884
Small cleanups to Bluetooth fallback intervals (#102440) 2023-10-21 10:06:49 -10:00
Jan-Philipp Benecke 017c699e19
Let the statistics component calculate changes in fossil energy consumption calculation (#101557) 2023-10-21 10:06:12 -10:00
Joost Lekkerkerker 235a3486ee
Add sensors for Withings Goals (#102468) 2023-10-21 21:51:37 +02:00
Hessel bd0df2f18f
Add energy price number entities to Wallbox (#101840) 2023-10-21 17:53:32 +02:00
elmurato faa149b71a
Add binary sensor tests to Minecraft Server (#102457) 2023-10-21 15:49:38 +02:00
elmurato 9f3a733f73
Add sensor tests to Minecraft Server (#102418) 2023-10-21 15:19:32 +02:00
Raman Gupta 41b59b6990
Add support for zwave_js event entities (#102285)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-20 19:11:08 -04:00
J. Nick Koston a2c60d9015
Only callback when value or status changes for processing HKC events (#102370) 2023-10-20 12:46:18 -10:00
J. Nick Koston f51743f123
Bump aiohomekit to 3.0.7 (#102408) 2023-10-20 23:08:41 +02:00
Franck Nijhof 5ff6779f5c
Update guppy3 to 3.1.4 (#102400) 2023-10-20 20:20:17 +02:00
J. Nick Koston 27b5a9e074
Reduce number of test states in big purge test to fix CI (#102401) 2023-10-20 08:09:59 -10:00
kpine c7affa75d4
Fix temperature setting for multi-setpoint z-wave device (#102395)
* Fix temperature setting for multi-setpoint z-wave device

* Add missing fixture file

* Apply suggestions from code review

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-20 19:57:00 +02:00
Kostas Chatzikokolakis cc0491e85d
Use action response in intent_script speech template (#96256) 2023-10-20 10:23:02 -04:00
dupondje da653c36fd
Add peak usage sensors to dsmr (#102227) 2023-10-20 15:59:34 +02:00