Commit Graph

74404 Commits (5e94858821d0857f0bec1005485a7d2bd784f279)

Author SHA1 Message Date
J. Nick Koston 5e94858821
Migrate _async_when_setup to use eager_start (#112872)
This one does not make much difference, but its a lot
easier to do it now instead of in the future
2024-03-11 15:02:35 -04:00
J. Nick Koston 89c24b2f75
Migrate dispatcher to create tasks eagerly (#112845)
There were quite a few of these that never had to suspend.
2024-03-11 14:58:45 -04:00
J. Nick Koston d7cc30fd2b
Start tasks eagerly in for async_at_start(ed) (#112802) 2024-03-11 08:46:11 -10:00
Jan Stienstra ff4e9eb31e
Fix optional Jellyfin RunTimeTicks (#108254) 2024-03-11 19:09:18 +01:00
Paulus Schoutsen 145657dc21
Only load services.yaml for integrations that have it (#112732)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-11 19:05:32 +01:00
Marcel van der Veldt ec89886fac
Fix colormode attribute on grouped Hue light (#113071) 2024-03-11 19:04:44 +01:00
Joost Lekkerkerker 0b6307fa53
Add icon translations to Version (#112343) 2024-03-11 19:00:56 +01:00
Joost Lekkerkerker 23ffcaf187
Improve lists in integrations [B] (#113069) 2024-03-11 18:59:57 +01:00
Alistair Francis 1853c2d73a
components/gardena_bluetooth: Improve avaliability reliability (#113056)
* components/gardena_bluetooth: Improve avaliability reliability

The available() function incorrectly returns false even though the device
is accessible.

The last_update_success property should correctly indicate if the device
isn't contactable, so we don't need to call async_address_present().
This is confirmed by seeing that no other users are calling
async_address_present() in the available() function.

This commit removes the call to async_address_present() to help fix the
sensor being unavailable when using a ESPHome BLE proxy.

Signed-off-by: Alistair Francis <alistair@alistair23.me>

---------

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Co-authored-by: Joakim Plate <elupus@ecce.se>
2024-03-11 18:58:43 +01:00
Joost Lekkerkerker c75342bd9a
Improve lists in integrations [C-D] (#113072) 2024-03-11 18:58:35 +01:00
Aaron Bach 4d77bec681
Bump `regenmaschine` to 2024.03.0 (#113074) 2024-03-11 18:37:00 +01:00
Lukas de Boer 9f31423136
Bump rova to 0.4.1 (#113066) 2024-03-11 17:30:51 +01:00
Ondřej Machulda 7fce629fc4
Change airthings pressure sensor device_class to atmospheric pressure (#113005) 2024-03-11 17:01:19 +01:00
Joost Lekkerkerker 690ba103ed
Improve lists in integrations [A] (#113006)
* Use list comprehension [A]

* Use list comprehension [A]

* Update homeassistant/components/aws/notify.py
2024-03-11 16:17:44 +01:00
Joost Lekkerkerker bf40b33117
Remove fixtures from global fixtures folder (#113060)
Remove fixtures
2024-03-11 10:19:54 -04:00
J. Nick Koston 5e2edb6819
Ensure wemo discovery is run in a background task (#112665) 2024-03-11 15:13:41 +01:00
Joost Lekkerkerker e13d8200cc
Remove entity description mixin in Github (#112771) 2024-03-11 15:12:24 +01:00
J. Nick Koston d939c48b4a
Fix here_travel_time creating many refresh requests at startup (#113041) 2024-03-11 15:11:33 +01:00
Marcel van der Veldt 0eb1adccf8
Fix for Hue not applying effect in scene (#113057) 2024-03-11 15:08:00 +01:00
Folke Lemaitre ba971890a9
Fix hvac_mode for viessmann devices with heatingCooling mode (#113054) 2024-03-11 15:05:31 +01:00
Marcel van der Veldt 0a7598e2d4
Fix for controlling Hue switch entities (#113064) 2024-03-11 09:49:52 -04:00
Joost Lekkerkerker 2792a5f016
Enable even more SIM ruff rules (#113017)
* SIM202 SIM211 SIM220 SIM221 SIM222 SIM223

* SIM910 SIM911

* SIM

* Update homeassistant/components/mqtt/siren.py

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* Update homeassistant/components/mqtt/siren.py

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-11 14:23:52 +01:00
Steven B 48cb09a4a8
Prepare ring update service for deprecation (#108781)
* Prepare ring update service for deprecation

* Update service removal release number
2024-03-11 13:42:52 +01:00
Joost Lekkerkerker f8d1232598
Move HomematicIP Cloud fixture to integration test (#112987)
* Move HomematicIP Cloud fixture to integration test

* Update tests/components/homematicip_cloud/helper.py

* Update tests/components/homematicip_cloud/helper.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-03-11 13:26:44 +01:00
Shai Ungar 3c06fbbd82
Add ConfigFlow for seventeentrack integration (#111196)
* Add config flow to 17Track

* Import config from configuration.yaml

* 1. move import to async_setup_platform
2. add USERNAME (email) in title for uniqueness

* Add options flow

* Add tests

* Add CONF_SHOW_ARCHIVED  and CONF_SHOW_DELIVERED to data from options

* Update homeassistant/components/seventeentrack/__init__.py

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

* Update homeassistant/components/seventeentrack/__init__.py

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

* Update homeassistant/components/seventeentrack/config_flow.py

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

* Update homeassistant/components/seventeentrack/manifest.json

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

* Update homeassistant/components/seventeentrack/config_flow.py

Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>

* Update homeassistant/components/seventeentrack/__init__.py

Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>

* Update homeassistant/components/seventeentrack/sensor.py

Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>

* 1. Added repair issues
2. _async_validate_input inlined
3. added unique id
4. take default scan interval

* fix

* 1. move async_create_issue to async_setup_platform
2. fix tests
3. black + pylint

* combine USER_SCHEMA and OPTIONS_SCHEMA

* small fix

* remove async_setup

* fix tests and add 100% coverage

* 1. remove CONFIG_SCHEMA
2. remove error log
3. add issue with more description when import issues happen
4. some linting

* Update homeassistant/components/seventeentrack/config_flow.py

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

* Update homeassistant/components/seventeentrack/sensor.py

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

* Update homeassistant/components/seventeentrack/sensor.py

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

* Update homeassistant/components/seventeentrack/sensor.py

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

* use freezer
use AsyncMock
fix tests

* add test_flow_fails
parametrize tests where needed
test_import_flow_already_configured - where a unique id already configured (abort flow)

* lint

* fix rebase issues

* some more fix

* 17Track revert tests and put them in a different PR

* adapt tests to MockConfigEntry

* Update tests/components/seventeentrack/test_sensor.py

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

* Update homeassistant/components/seventeentrack/sensor.py

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

* Update homeassistant/components/seventeentrack/sensor.py

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

* Update tests/components/seventeentrack/__init__.py

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

* 1. create fixture for config and another with options
2. set options with default values
3. remove CONFIG_SCHEMA

* Update tests/components/seventeentrack/conftest.py

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

* Update tests/components/seventeentrack/conftest.py

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

* 1. get options from import data and default if not present
2. rename mock_config_entry_no_options -> mock_config_entry_with_default_options

* move ACCOUNT_ID to mock_seventeentrack_api.return_value.profile.account_id

* Apply suggestions from code review

* Update tests/components/seventeentrack/test_config_flow.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
2024-03-11 12:47:39 +01:00
Ernst Klamer 564c31e846
Bump xiaomi-ble to 0.27.0 (#113013) 2024-03-11 12:39:07 +01:00
Marcel van der Veldt a7a30581fc
Fix adding Hue bridge manually by IP (#113055) 2024-03-11 12:35:41 +01:00
Robert Resch 7fd5c3ed61
Use UV instead of PIP in the CI (#113051) 2024-03-11 12:18:29 +01:00
Joost Lekkerkerker 57e6c8e07a
Remove entity description mixin in Juicenet (#112892) 2024-03-11 12:08:42 +01:00
Joost Lekkerkerker 067c222bd9
Remove entity description mixin in Kostal Plenticore (#112898) 2024-03-11 12:07:13 +01:00
Joost Lekkerkerker d82ffb4e07
Remove entity description mixin in Kraken (#112899) 2024-03-11 12:06:42 +01:00
Joost Lekkerkerker 324fc51375
Remove entity description mixin in Landisgyr Heat Meter (#112901) 2024-03-11 12:06:27 +01:00
Joost Lekkerkerker 62817ba338
Remove entity description mixin in Melnor (#112906) 2024-03-11 12:05:55 +01:00
Joost Lekkerkerker 14e7e4c860
Remove entity description mixin in Netatmo (#112910) 2024-03-11 12:04:04 +01:00
Joost Lekkerkerker f86119aec7
Remove entity description mixin in Onvif (#112912) 2024-03-11 12:03:50 +01:00
Joost Lekkerkerker b48032e37e
Remove entity description mixin in PECO (#112915) 2024-03-11 12:03:33 +01:00
Joost Lekkerkerker e08fb68597
Remove entity description mixin in Pi-hole (#112919) 2024-03-11 12:03:13 +01:00
Joost Lekkerkerker 8391dd39d9
Remove entity description mixin in Picnic (#112920) 2024-03-11 12:02:54 +01:00
Joost Lekkerkerker d0a1781187
Remove entity description in Point (#112921) 2024-03-11 12:02:26 +01:00
Joost Lekkerkerker d29418ebf5
Remove entity description mixin in Pure Energie (#112923) 2024-03-11 12:01:40 +01:00
Joost Lekkerkerker 7730c3bcf3
Remove entity description mixin in Renson (#112926) 2024-03-11 12:01:01 +01:00
Joost Lekkerkerker 54abc4935f
Remove entity description mixin in Rituals Perfume Genie (#112929) 2024-03-11 12:00:35 +01:00
Joost Lekkerkerker 7f3a850ca5
Remove entity description mixin in Meteo-France (#112907) 2024-03-11 12:00:16 +01:00
Joost Lekkerkerker 3c217d737e
Remove entity description mixin in Roborock (#112930) 2024-03-11 11:59:48 +01:00
Joost Lekkerkerker b837a969d8
Remove entity description mixin in Ring (#112928) 2024-03-11 11:59:02 +01:00
Joost Lekkerkerker 22f6558647
Remove entity description mixin in Roomba (#112932) 2024-03-11 11:58:21 +01:00
Joost Lekkerkerker a1a0738e58
Remove entity description mixin in Skybell (#112939) 2024-03-11 11:57:38 +01:00
Joost Lekkerkerker 37e0a9d9c7
Remove entity description mixin in SleepIQ (#112940) 2024-03-11 11:57:22 +01:00
Joost Lekkerkerker fb23d5e6fb
Remove entity description mixin in Smappee (#112941) 2024-03-11 11:57:01 +01:00
Joost Lekkerkerker f5c8732307
Remove entity description mixin in Solaredge (#112942) 2024-03-11 11:56:37 +01:00