Commit Graph

16741 Commits (1ca95965b675d020062687ae50f4f4aad75b2612)

Author SHA1 Message Date
Franck Nijhof 07f03d9ec9
Set suggested display precision for HomeWizard Energy power sensors (#103369) 2023-11-04 15:40:50 +01:00
Franck Nijhof 109944e4ff
Replace/restructure HomeWizard device fixtures to reflect reality (#103311) 2023-11-04 13:37:08 +01:00
Raman Gupta 2b3d57859e
Add test for firmware update scenario (#103314) 2023-11-04 13:12:06 +01:00
Ian 51c3a5d11d
Nextbus: Listify directions (#103337)
When a single value is returned, the list wrapper is not present in the
json payload. This patch ensures that the result is always a list.
2023-11-04 08:56:27 +01:00
Joakim Sørensen 921d6feae7
Remove extra from traccar webhook (#103319) 2023-11-03 17:44:48 +01:00
Raman Gupta eeb88f5e07
Fix zwave_js cover bug for Window Covering CC values (#103289)
* Fix cover bug for Window Covering CC values

* update test

* Fix fixture

* Remove no-op line from test
2023-11-03 15:36:48 +01:00
Tom 2a31eb6762
Fix Plugwise Schedule selection (#103262) 2023-11-03 12:17:36 +01:00
Marcel van der Veldt 680162d494
Fix Matter 1.2 locks with specific unlatch/unbolt support (#103275) 2023-11-03 12:09:31 +01:00
Guido Schmitz f5cc4dcf3e
Add MAC adress to devolo Home Network DeviceInfo (#103290)
Add MAC adress to devolo Home Network devices
2023-11-03 08:34:49 +01:00
G Johansson 12e1acfcfc
Cleanup weather test (#103090)
* Cleanup weather test

* rename

* Clean off not used MockWeatherCompat

* conftest

* more cleanup

* Fin mod tests

* fix others
2023-11-03 05:53:38 +01:00
Allen Porter a95aa4e15f
Add config flow to CalDAV (#103215)
* Initial caldav config flow with broken calendar platform

* Set up calendar entities

* Remove separate caldav entity

* Update tests after merge

* Readbility improvements

* Address lint issues

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Add checking for duplicate configuration entries

* Use verify SSL as input into caldav and simplify test setup

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-02 19:48:56 -07:00
Abílio Costa 4a117c0a1e
Add buttons to connect/disconnect the Idasen Desk (#102433)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-02 19:57:48 -05:00
Denis Shulyaka d18b2d8748
Shield service call from cancellation on REST API connection loss (#102657)
* Shield service call from cancellation on connection loss

* add test for timeout

* Apply suggestions from code review

* Apply suggestions from code review

* fix merge

* Apply suggestions from code review
2023-11-02 12:58:26 +01:00
Jan Bouwhuis 4a4d2ad743
Fix mqtt config validation error handling (#103210)
* Fix MQTT config check

* Fix handling invalid enity_category for sensors

* Improve docstr

* Update comment

* Use correct util for yaml dump
2023-11-02 10:57:00 +01:00
Allen Porter fe482af561
Add modernized fitbit battery level sensor (#102500)
* Add modernized fitbit battery level sensor

* Use entity names for existing battery sensors

* Use icon from device class

* Update homeassistant/components/fitbit/strings.json

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

* Update tests with lower case naming

* Swap the names of the device battery sensors

* Revert "Swap the names of the device battery sensors"

This reverts commit c9516f6d06.

* Update homeassistant/components/fitbit/sensor.py

Co-authored-by: Jan Vaníček <janvanicek@post.cz>

* Improve typing

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Jan Vaníček <janvanicek@post.cz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-02 10:22:27 +01:00
Luke Lashley 47d6d6c344
Add button platform to Roborock (#103010)
* add button platform to roborock

* Update tests/components/roborock/test_button.py

Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>

* Remove device class

* improve tests

* sort platforms

---------

Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-11-01 21:34:04 +01:00
Tudor Sandu 66dd3b153d
Support HassTurnOn/Off intents for lock domain (#93231)
* Support HassTurnOn/Off intents for lock domain

Fix https://github.com/home-assistant/intents/issues/1347

* Added tests

* Linting changes

* Linting
2023-11-01 09:46:13 -05:00
mkmer 4a93465e85
Catch unexpected response in Honeywell (#103169)
catch unexpected response
2023-11-01 15:41:41 +01:00
Jan Bouwhuis daee5baef6
Fix mqtt is not reloading without yaml config (#103159) 2023-11-01 09:25:56 +01:00
Allen Porter 04dfbd2e03
Improve fitbit oauth token error handling in config flow (#103131)
* Improve fitbit oauth token error handling in config flow

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests with updated error reason

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-31 19:48:33 -07:00
Teemu R f944c68e01
Bump python-kasa to 0.5.4 for tplink (#103038) 2023-10-31 19:54:51 -05:00
J. Nick Koston 8eb7766f30
Avoid path construction for static files cache hit (#102882) 2023-10-31 14:31:58 -05:00
J. Nick Koston 9b27552238
Fix race in starting reauth flows (#103130) 2023-10-31 12:38:05 -05:00
Joost Lekkerkerker d75a6a3b4b
Use right functions for fixtures in Freebox test (#103135) 2023-10-31 17:25:08 +01:00
Narmishka f55cd17982
Move Freebox tests to fixtures (#103128) 2023-10-31 15:50:17 +00:00
Christopher Fenner 22126a1280
Handle exception introduced with recent PyViCare update (#103110) 2023-10-31 13:42:52 +01:00
Joost Lekkerkerker 55a4769172
Abort config flow if Google Tasks API is not enabled (#103114)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-31 11:32:17 +01:00
Erik Montnemery 0304ac5a1b
Fix restore state for light when saved attribute is None (#103096) 2023-10-31 10:05:03 +01:00
G Johansson 85d49a2920
Fix Met Device Info (#103082) 2023-10-31 08:31:53 +01:00
Erik Montnemery 246ebc99cc
Fix local_todo todo tests (#103099) 2023-10-31 02:38:58 +01:00
Erik Montnemery 64f8967739
Fix todoist todo tests (#103101) 2023-10-31 02:38:18 +01:00
Erik Montnemery df814af076
Fix shopping_list todo tests (#103100) 2023-10-31 02:03:54 +01:00
Erik Montnemery 6e62cf5efb
Fix google_tasks todo tests (#103098) 2023-10-31 02:03:34 +01:00
Mislav Mandarić 84b71c9ddb
Allow setting hvac mode through set_temperature climate method in Gree integration (#101196)
* Allow setting hvac mode through set_temperature climate method

* Suggested code simplification when reading hvac mode

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

* Remove unnecessary temperature unit handling from set temperature with hvac mode tests

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-10-30 22:10:47 +01:00
Robert Resch d97a030872
Refactor todo services and their schema (#103079) 2023-10-30 21:43:24 +01:00
Joost Lekkerkerker 7319abcab0
Show a warning when no Withings data found (#103066) 2023-10-30 19:40:27 +01:00
Duco Sebel 0f72495a7d
Rename power to energy in HomeWizard (#102948) 2023-10-30 19:09:23 +01:00
Álvaro Fernández Rojas cb0517d20e
Update AEMET-OpenData to v0.4.6 (#102996) 2023-10-30 18:54:50 +01:00
Joost Lekkerkerker 953d5e0080
Add 2 properties to Withings diagnostics (#103067) 2023-10-30 15:47:08 +01:00
David Knowles f160fa4bc3
Make Hydrawise initialize data immediately (#101936) 2023-10-30 15:18:59 +01:00
mkmer 92ec525de1
Add retry before unavailable to Honeywell (#101702)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-30 15:16:41 +01:00
Franck Nijhof 487dcf227e
Rewrite HomeWizard Energy tests (#103000)
Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-10-30 14:07:42 +01:00
Robert Hillis 7dbe0c3a48
Fix Google Mail expired authorization (#102735)
* Fix Google Mail expired authorization

* add test

* raise HomeAssistantError

* handle in api module

* uno mas
2023-10-30 12:36:34 +01:00
Diogo Gomes 7c94293cb4
Fix utility_meter reset when DST change occurs (#103012) 2023-10-30 09:46:20 +01:00
Jan Bouwhuis d6a0f9b5a0
Give mqtt test more time to process subscriptions (#103006) 2023-10-30 06:02:03 +01:00
Allen Porter d75f1b2b3e
Fix bug in fitbit credential import for expired tokens (#103024)
* Fix bug in fitbit credential import on token refresh

* Use stable test ids

* Update homeassistant/components/fitbit/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-29 14:26:10 -07:00
kpine 46ecf0d4bd
Revert "Fix temperature setting for multi-setpoint z-wave device (#102395)" (#103022)
This reverts commit 2d6dc2bccc.
2023-10-29 19:15:19 +01:00
Raman Gupta 94e192db12
Fix zwave_js siren name (#103016)
* Fix zwave_js.siren name

* Fix test
2023-10-29 17:44:15 +01:00
Michael 2616794e1d
Fix proximity entity id (#102992)
* fix proximity entity id

* extend test to cover entity id
2023-10-29 10:43:57 +01:00
Bouwe Westerdijk 9cc7012d32
Correct total state_class of huisbaasje sensors (#102945)
* Change all cumulative-interval sensors to TOTAL
2023-10-29 09:17:57 +01:00
Allen Porter af851b6c2b
Cleanup caldav test fixtures (#102982)
* Caldav test fixture cleanup

* Remove a text fixture only used 3 times
2023-10-29 09:16:28 +01:00
Michael 6202f178af
Fix proximity zone handling (#102971)
* fix proximity zone

* fix test
2023-10-28 22:32:42 -04:00
Brett Adams a4c31f63bf
Add current temperature to master climate entity in Advantage Air (#102938)
* Add current_temperature

* Update tests
2023-10-28 21:59:02 +02:00
Allen Porter efc9f845db
Fix error message strings for Todoist configuration flow (#102968)
* Fix error message strings for Todoist configuration flow

* Update error code in test
2023-10-28 21:02:42 +02:00
Álvaro Fernández Rojas fb5d058885
Add AEMET library data to coordinator and use it for weather platform (#102954) 2023-10-28 13:53:40 -05:00
Allen Porter 8703621c64
Improve fitbit oauth import robustness (#102833)
* Improve fitbit oauth import robustness

* Improve sensor tests and remove unnecessary client check

* Fix oauth client id/secret config key checks

* Add executor for sync call
2023-10-28 17:20:44 +02:00
Erik Montnemery 03d3a87f23
Small cleanup of legacy groups (#102918)
* Small cleanup of legacy groups

* Update tests which create groups
2023-10-28 17:16:41 +02:00
Erik Montnemery 524e20536d
Improve dlna_dmr tests (#102905) 2023-10-28 14:53:34 +02:00
Joost Lekkerkerker 2601c6789d
Add entity translations to Airzone (#99054) 2023-10-28 13:56:45 +02:00
Franck Nijhof 8e112c04fb
Improve diagnostic handling in HomeWizard Energy (#102935) 2023-10-27 23:27:17 +02:00
Franck Nijhof 100c3079ae
Hide mac address from HomeWizard Energy config entry/discovery titles (#102931) 2023-10-27 23:26:28 +02:00
Álvaro Fernández Rojas ca5bcb9ab1
Update aioairzone-cloud to v0.3.1 (#102899) 2023-10-27 17:36:28 +02:00
Jan-Philipp Benecke 43915fbaf3
Add connections to PassiveBluetoothProcessorEntity (#102854) 2023-10-27 12:09:59 +02:00
Paul Bottein e0885ef109
Don't return resources in safe mode (#102865) 2023-10-27 11:30:37 +02:00
Allen Porter af9cae289f
Change todo move API to reference previous uid (#102795) 2023-10-26 18:43:10 +02:00
nachonam cf03f8338a
Add Freebox Home alarm panel (#102607)
* add alarm control panel

* optimize update node

* Modify comment

* move const to alarm

* add alarm panel tests

* tests modified

* add file into coveragerc

* Review: DATA_HOME_GET_VALUES -> DATA_HOME_PIR_GET_VALUES

* Review: commands rename

* Review: precise what "alarm2" is for features

* Review: remove custom attributes & properties that exists in parent

* Review: Avoid duplicates of async_write_ha_state()

* make functions private

* Review: initial state never works

* Review: remove extra attrs

* Review: fix tests

* Fix tests

* Remove line in .coveragerc

---------

Co-authored-by: Quentame <polletquentin74@me.com>
2023-10-26 12:35:51 +00:00
Amit Finkelstein edf2e42e4d
Apple TV: Use replacement commands for deprecated ones (#102056)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-26 10:46:20 +02:00
Erik Montnemery 087df10d27
Improve validation of device automations (#102766)
* Improve validation of device automations

* Improve comments

* Address review comment
2023-10-26 09:46:16 +02:00
Erik Montnemery 43ac77ca2f
Fix fan device actions (#102797) 2023-10-25 23:22:38 -04:00
Erik Montnemery e5078a3e13
Use real devices in automation blueprint tests (#102824) 2023-10-25 23:20:50 -04:00
Erik Montnemery 64f0ea60d1
Correct logic for picking bluetooth local name (#102823)
* Correct logic for picking bluetooth local name

* make test more robust

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-25 18:08:31 -05:00
Raman Gupta 13378b4ae2
Add script to convert zwave_js device diagnostics to fixture (#102799) 2023-10-25 16:07:22 -04:00
Erik Montnemery b83ada8c19
Use real devices in automation and script tests (#102785) 2023-10-25 16:09:39 +02:00
Erik Montnemery 8d034a85fe
Small cleanup of nest tests (#102787) 2023-10-25 15:35:58 +02:00
J. Nick Koston 4447336083
Fix hassio delaying startup to fetch container stats (#102775) 2023-10-25 15:32:43 +02:00
Erik Montnemery 6e72499f96
Use real devices in nest device trigger tests (#102692) 2023-10-25 15:13:38 +02:00
Jan Stienstra 2c46a975fb
Add re-authentication to Jellyfin (#97442) 2023-10-25 14:02:30 +02:00
Maciej Bieniek 47c9d58b5e
Override the `async_update()` method for Shelly sleeping devices (#102516) 2023-10-25 13:48:00 +02:00
Allen Porter 476e867fe8
Add a Local To-do component (#102627)
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-25 13:21:10 +02:00
Joost Lekkerkerker 0658c7b307
Add config flow to random (#100858)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-25 13:01:27 +02:00
Joost Lekkerkerker d2f8c527a5
Add entity translations to Tomorrow.io (#99632) 2023-10-25 12:15:09 +02:00
Allen Porter 7f7064ce59
Add Google Tasks create and update for todo platform (#102754)
* Add Google Tasks create and update for todo platform

* Update comments

* Update comments
2023-10-25 10:51:21 +02:00
Erik Montnemery a6c5927976
Use real devices in light device condition tests (#102756) 2023-10-25 09:42:35 +02:00
Erik Montnemery b38692f3a7
Use real devices in lock device condition tests (#102757) 2023-10-25 09:42:00 +02:00
starkillerOG 93a8b60c2b
Philips Hue restore brightness after transition (#101293) 2023-10-25 07:46:49 +02:00
Ravaka Razafimanantsoa 7038bd67f7
Add Climate to switchbot cloud integration (#101660) 2023-10-24 23:46:00 -05:00
Allen Porter 0cb0e3ceeb
Add Google tasks integration, with initial read-only To-do list (#102629)
* Add Google Tasks integration

* Update tests and unique id

* Revert devcontainer change

* Increase test coverage

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove ternary

* Fix JSON

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-24 21:30:29 -07:00
Matthias Alphart fb13d9ce7c
Set Fronius entities to "unknown" when receiving invalid zero value (#102270) 2023-10-25 06:27:46 +02:00
Erik Montnemery 704881743b
Use real devices in remote device trigger tests (#102693) 2023-10-25 06:24:23 +02:00
Jesse Hills ad692f3341
ESPHome Text entities (#102742) 2023-10-24 23:14:58 -05:00
Erik Montnemery 789a00043a
Use real devices in device automation tests (#102736)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-25 06:14:53 +02:00
Raman Gupta aa36229519
Remove eight_sleep integration (#102669) 2023-10-25 06:13:10 +02:00
Erik Montnemery 626123acc0
Use real devices in select device trigger tests (#102694) 2023-10-25 06:13:00 +02:00
Erik Montnemery b870933dc7
Use real devices in remote device action tests (#102725) 2023-10-25 06:11:55 +02:00
Erik Montnemery 9047dcf242
Use real devices in text device action tests (#102728) 2023-10-25 06:11:06 +02:00
Luke Lashley dd111416e7
Add cleaning binary sensor to Roborock (#102748) 2023-10-25 06:10:31 +02:00
tronikos 6294339944
Improve ZHA King of Fans (#101859) 2023-10-25 05:56:08 +02:00
Raman Gupta ec3ee7f02c
Update zwave_js/hard_reset_controller WS cmd (#102280) 2023-10-24 21:31:03 -04:00
Robert Svensson 40817dabbf
Bump aiounifi to v64 (#102700) 2023-10-24 20:27:42 -05:00
Erik Montnemery a1a5713e10
Abort Improv via BLE bluetooth flow if device is provisioned (#102656)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-24 19:14:23 -05:00
J. Nick Koston f91583a0fc
Add support for family to aiohttp session helper (#102702) 2023-10-24 18:40:39 -05:00
Robert Svensson a691bd26cf
Support Lidl christmas light effects in deCONZ (#102731) 2023-10-25 00:32:20 +02:00
Erik Montnemery f56343f447
Use real devices in lock device action tests (#102723) 2023-10-24 23:43:50 +02:00
Erik Montnemery 3a11a6f973
Use real devices in switch device action tests (#102727) 2023-10-24 23:43:30 +02:00
Erik Montnemery 530611c44e
Use real devices in fan device action tests (#102720) 2023-10-24 21:40:24 +00:00
Erik Montnemery 21d0fa640f
Use real devices in cover device action tests (#102719) 2023-10-24 23:40:22 +02:00
Erik Montnemery 8da421c442
Use real devices in climate device action tests (#102718) 2023-10-24 23:40:07 +02:00
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