Commit Graph
77883 Commits
Author SHA1 Message Date
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 BandGitHub 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
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
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 KlamerandGitHub 564c31e846 Bump xiaomi-ble to 0.27.0 (#113013) 2024-03-11 12:39:07 +01:00
Marcel van der VeldtandGitHub a7a30581fc Fix adding Hue bridge manually by IP (#113055) 2024-03-11 12:35:41 +01:00
Robert ReschandGitHub 7fd5c3ed61 Use UV instead of PIP in the CI (#113051) 2024-03-11 12:18:29 +01:00
Joost LekkerkerkerandGitHub 57e6c8e07a Remove entity description mixin in Juicenet (#112892) 2024-03-11 12:08:42 +01:00
Joost LekkerkerkerandGitHub 067c222bd9 Remove entity description mixin in Kostal Plenticore (#112898) 2024-03-11 12:07:13 +01:00
Joost LekkerkerkerandGitHub d82ffb4e07 Remove entity description mixin in Kraken (#112899) 2024-03-11 12:06:42 +01:00
Joost LekkerkerkerandGitHub 324fc51375 Remove entity description mixin in Landisgyr Heat Meter (#112901) 2024-03-11 12:06:27 +01:00
Joost LekkerkerkerandGitHub 62817ba338 Remove entity description mixin in Melnor (#112906) 2024-03-11 12:05:55 +01:00
Joost LekkerkerkerandGitHub 14e7e4c860 Remove entity description mixin in Netatmo (#112910) 2024-03-11 12:04:04 +01:00
Joost LekkerkerkerandGitHub f86119aec7 Remove entity description mixin in Onvif (#112912) 2024-03-11 12:03:50 +01:00
Joost LekkerkerkerandGitHub b48032e37e Remove entity description mixin in PECO (#112915) 2024-03-11 12:03:33 +01:00
Joost LekkerkerkerandGitHub e08fb68597 Remove entity description mixin in Pi-hole (#112919) 2024-03-11 12:03:13 +01:00
Joost LekkerkerkerandGitHub 8391dd39d9 Remove entity description mixin in Picnic (#112920) 2024-03-11 12:02:54 +01:00
Joost LekkerkerkerandGitHub d0a1781187 Remove entity description in Point (#112921) 2024-03-11 12:02:26 +01:00
Joost LekkerkerkerandGitHub d29418ebf5 Remove entity description mixin in Pure Energie (#112923) 2024-03-11 12:01:40 +01:00
Joost LekkerkerkerandGitHub 7730c3bcf3 Remove entity description mixin in Renson (#112926) 2024-03-11 12:01:01 +01:00
Joost LekkerkerkerandGitHub 54abc4935f Remove entity description mixin in Rituals Perfume Genie (#112929) 2024-03-11 12:00:35 +01:00
Joost LekkerkerkerandGitHub 7f3a850ca5 Remove entity description mixin in Meteo-France (#112907) 2024-03-11 12:00:16 +01:00
Joost LekkerkerkerandGitHub 3c217d737e Remove entity description mixin in Roborock (#112930) 2024-03-11 11:59:48 +01:00
Joost LekkerkerkerandGitHub b837a969d8 Remove entity description mixin in Ring (#112928) 2024-03-11 11:59:02 +01:00
Joost LekkerkerkerandGitHub 22f6558647 Remove entity description mixin in Roomba (#112932) 2024-03-11 11:58:21 +01:00
Joost LekkerkerkerandGitHub a1a0738e58 Remove entity description mixin in Skybell (#112939) 2024-03-11 11:57:38 +01:00
Joost LekkerkerkerandGitHub 37e0a9d9c7 Remove entity description mixin in SleepIQ (#112940) 2024-03-11 11:57:22 +01:00
Joost LekkerkerkerandGitHub fb23d5e6fb Remove entity description mixin in Smappee (#112941) 2024-03-11 11:57:01 +01:00
Joost LekkerkerkerandGitHub f5c8732307 Remove entity description mixin in Solaredge (#112942) 2024-03-11 11:56:37 +01:00
Joost LekkerkerkerandGitHub ff88c46658 Remove entity description mixin in Steamist (#112944) 2024-03-11 11:56:22 +01:00
Joost LekkerkerkerandGitHub 1bc6277c47 Remove entity description mixin in Tautulli (#112949) 2024-03-11 11:56:03 +01:00
Joost LekkerkerkerandGitHub 276b8147d3 Remove entity description mixin in Tolo (#112951) 2024-03-11 11:55:33 +01:00
Joost LekkerkerkerandGitHub d723d5815c Remove entity description mixin in Transmission (#112958) 2024-03-11 11:55:08 +01:00
Joost LekkerkerkerandGitHub b4dfe455cb Remove entity description mixin in Tuya (#112959) 2024-03-11 11:54:46 +01:00
Joost LekkerkerkerandGitHub b5c5db9ca0 Remove entity description mixin in Vallox (#112963) 2024-03-11 11:54:00 +01:00
Joost LekkerkerkerandGitHub 39bfb2b5ba Remove entity description mixin in Venstar (#112964) 2024-03-11 11:53:40 +01:00
Joost LekkerkerkerandGitHub 90769b460d Remove entity description mixin in VeSync (#112965) 2024-03-11 11:53:18 +01:00
Joost LekkerkerkerandGitHub 105fca2212 Remove entity description mixin in Whirlpool (#112972) 2024-03-11 11:52:42 +01:00
Joost LekkerkerkerandGitHub 85b6d70b04 Remove entity description mixin in Xiaomi Miio (#112973) 2024-03-11 11:52:19 +01:00
Joost LekkerkerkerandGitHub ea300623f9 Remove entity description mixin in Yalexs BLE (#112974) 2024-03-11 11:51:45 +01:00
Joost LekkerkerkerandGitHub 2b8f42be39 Remove entity description mixin in Zamg (#112976) 2024-03-11 11:51:21 +01:00
Joost LekkerkerkerandGitHub a8bde2df3c Remove entity description mixin in Z-Wave.js (#112979) 2024-03-11 11:49:44 +01:00
Joost LekkerkerkerandGitHub 0d68c27985 Remove entity description mixin in Honeywell Lyric (#112903) 2024-03-11 11:48:44 +01:00
Joost LekkerkerkerandGitHub 830f419a8f Remove entity description mixin in SABnzbd (#112933) 2024-03-11 11:48:27 +01:00
Joost LekkerkerkerandGitHub 65f2c74cb0 Remove entity description mixin in Wallbox (#112969) 2024-03-11 11:46:21 +01:00
Joost LekkerkerkerandGitHub 53613e69f2 Remove entity description mixin in QNAP QSW (#112924) 2024-03-11 11:44:37 +01:00
SidandGitHub c60aed3012 Bump webmin-xmlrpc to 0.0.2 (#113004) 2024-03-11 11:44:21 +01:00
Joost LekkerkerkerandGitHub 3b0b729557 Remove YAML configuration from WAQI (#113027) 2024-03-11 11:41:49 +01:00
Joost LekkerkerkerandGitHub 53750acdab Remove entity description mixin in Minecraft Server (#112908) 2024-03-11 11:29:30 +01:00
Joost LekkerkerkerandGitHub 9fd96e8a78 Remove entity description mixin in Meater (#112904) 2024-03-11 11:28:54 +01:00