Jan Bouwhuis
e28d4f0eae
Validate state_class with last_reset_value_template for mqtt sensors ( #113099 )
2024-03-12 09:08:03 +01:00
Jan Bouwhuis
012291a1f3
Fix google_asssistant sensor state reporting ( #112838 )
...
* Fix post google_assistant sensor values as float not string
* Fix aqi reporting and improve tests
* Fix _air_quality_description_for_aqi and test
2024-03-12 09:07:20 +01:00
Erik Montnemery
d039bd654b
Add reconfigure flow to homeworks ( #112419 )
...
* Add reconfigure flow to homeworks
* Fix tests
* Use async_update_reload_and_abort helper
* Try to fix test shutdown
2024-03-12 08:47:44 +01:00
Thomas55555
4f4391bd09
Add missing device info to Husqvarna Automower ( #113090 )
...
* Add missing DeviceInfo to Husqvarna Automower
* add a test
* Adress review
* Update homeassistant/components/husqvarna_automower/entity.py
* fix url
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-12 08:25:35 +01:00
definitio
6f19744469
Add A6 family code for DS2438 1-Wire sensor ( #112844 )
...
* Add A6 family code for DS2438
* Add tests
* Fix switch
* Apply code review suggestion
* Add comments
2024-03-12 08:06:02 +01:00
J. Nick Koston
6e59d1cb29
Migrate homekit to use async_at_started ( #113102 )
2024-03-11 20:08:02 -04:00
J. Nick Koston
6ff8d7d2b9
Make sonos ssdp discovery callback a callback function ( #113107 )
2024-03-11 13:50:04 -10:00
J. Nick Koston
e29b012eba
Fix failing google diagnostics test ( #113095 )
2024-03-11 11:05:49 -10:00
Steven B
eff0aac586
Ensure that the ring integration always raises HomeAssistantError for user actions ( #109893 )
...
* Wrap library exceptions in HomeAssistantErrors
* Remove commented
* Update post review
* Update post second review
2024-03-11 20:23:49 +01:00
Joost Lekkerkerker
c75342bd9a
Improve lists in integrations [C-D] ( #113072 )
2024-03-11 18:58:35 +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
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
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
Marcel van der Veldt
a7a30581fc
Fix adding Hue bridge manually by IP ( #113055 )
2024-03-11 12:35:41 +01:00
Sid
c60aed3012
Bump webmin-xmlrpc to 0.0.2 ( #113004 )
2024-03-11 11:44:21 +01:00
Joost Lekkerkerker
3b0b729557
Remove YAML configuration from WAQI ( #113027 )
2024-03-11 11:41:49 +01:00
Joost Lekkerkerker
2349ce1abd
Move yandex transport fixture to integration test ( #112988 )
...
* Move yandex transport fixture to integration test
* Update tests/components/yandex_transport/test_sensor.py
* Ran ruff
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-03-11 11:28:30 +01:00
Brett Adams
6d440e36ad
Add tests for Aussie Broadband diagnostics ( #113049 )
...
* Add tests for diag
* Fix docstring
* Spelling
2024-03-11 10:54:12 +01:00
Simone Chemelli
4095de0566
Allow Shelly CoAP to honour default network adapter ( #110997 )
...
* Allow Shelly CoAP to honor default network adapter
* apply review comment
* 1 more debug log line
* adapt code to library changes
* test
* improve test
* one more test
2024-03-11 09:52:15 +01:00
J. Nick Koston
30c3174498
Fix CoreState in cloud google assistant tests ( #113045 )
2024-03-10 22:50:09 -10:00
J. Nick Koston
fd8ee6c857
Fix google assistant cloud sync test ( #113044 )
2024-03-10 22:44:21 -10:00
Yuxin Wang
405bf076b2
Remove a redundant check in APCUPSD's config flow ( #113032 )
...
Remove a redundant check that is impossible to happen in practice
2024-03-11 08:38:44 +01:00
Joost Lekkerkerker
b914ac3185
Move openhardwaremonitor fixture to integration tests ( #112982 )
...
* Move openhardwaremonitor fixture
* Update tests/components/openhardwaremonitor/test_sensor.py
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-03-11 08:30:22 +01:00
Joost Lekkerkerker
cede16fc40
Move Feedreader fixture to integration test ( #112989 )
2024-03-10 23:27:38 -04:00
Joost Lekkerkerker
d528378f5d
Move london_air fixture to integration test ( #112991 )
...
* Move london_air fixture to integration test
* Fix
2024-03-10 23:27:20 -04:00
Joost Lekkerkerker
812bd4af65
Move metoffice fixture to integration test ( #112992 )
...
* Move metoffice fixture to integration test
* Fix
* Update tests/components/metoffice/test_config_flow.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Fix
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-03-10 23:27:00 -04:00
Joost Lekkerkerker
a78e389d9b
Move Microsoft face fixture to integration test ( #112993 )
...
* Move Microsoft face fixture to integration test
* Update tests/components/microsoft_face/test_init.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Fix
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-03-10 23:26:37 -04:00
Joost Lekkerkerker
cddce0ce0d
Enable more SIM ruff rules ( #113015 )
...
* SIM101 SIM103
* SIM107 SIM109
* SIM110
* SIM112 SIM113
* SIM115
* SIM116
* Fix
* Fix
* Fix
2024-03-10 23:20:37 -04:00
J. Nick Koston
7ea79148ba
Ignore logging events in zha websocket tests ( #113031 )
2024-03-10 13:13:26 -10:00
Yuxin Wang
db31afe019
Migrate APCUPSD to has entity name ( #112997 )
...
* Properly set entity names for APCUPSD
* Add test cases to prevent future regressions
* Fix tests due to the updated entity IDs
* Prettify code
* Remove redundant translation key
2024-03-10 23:56:25 +01:00
Thomas55555
9a647d9b17
Bump aioautomower to 2024.3.0 ( #112627 )
...
Fix error in Husqvarna automower in Zones dataclass
2024-03-10 23:10:27 +02:00
Joost Lekkerkerker
d9f6e4be24
Add icon translations to Husqvarna automower ( #111727 )
...
* Add icon translations to Husqvarna automower
* fix
2024-03-10 21:55:31 +01:00
Jan Bouwhuis
02ef7ba134
Remove not needed hass.async_block_till_done in test ( #113002 )
2024-03-10 09:46:25 -10:00
Joost Lekkerkerker
958c843512
Move OpenALPR cloud fixture to integration test ( #112994 )
2024-03-10 15:17:24 -04:00
Joost Lekkerkerker
d76c20a483
Move uk_transport fixture to integration test ( #112995 )
2024-03-10 15:17:06 -04:00
Joost Lekkerkerker
65e1502b50
Move wsdot fixture to integration test ( #112996 )
2024-03-10 15:12:29 -04:00
J. Nick Koston
a2318c26c9
Run debouncer tasks eagerly to avoid scheduling on the event loop ( #112789 )
2024-03-10 08:37:10 -10:00
Jan Bouwhuis
c608d1cb85
Fix mqtt platform setup race ( #112888 )
2024-03-10 08:36:17 -10:00
Shai Ungar
eb81bf1d49
Improve 17track tests ( #112734 )
...
* 17Track tests
* add 17Track sensor to coverage
* extract repeated code
* 1. _goto_future - call tick only once
2. change test name to reflect test
3. remove ifs from test
* remove undersocre from _goto_future
2024-03-10 18:57:28 +01:00
Ernst Klamer
e91a38eede
Add Locks to Xiaomi-BLE ( #111156 )
2024-03-09 22:29:48 -10:00
A Björck
e631224372
Bump yalexs to 2.0.0 ( #111706 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-09 22:11:10 -10:00
Robert Svensson
ffcbab1c20
Split out deCONZ hub ( #112854 )
...
* Rename DeconzGateway to DeconzHub
* Move gateway.py to hub/hub.py
2024-03-10 08:25:12 +01:00
J. Nick Koston
f1b5dcdd1b
Refactor handling of device updates in ESPHome ( #112864 )
2024-03-09 20:30:17 -10:00
Jan Bouwhuis
caaa03536b
Cleanup mqtt PLATFORMS constant and CI-test platform filters ( #112847 )
2024-03-09 23:48:54 +01:00
J. Nick Koston
23ebd80285
Schedule coroutines with eager_task from async_track_state_change_event ( #112807 )
2024-03-09 11:24:54 -10:00
Arie Catsman
44abe329a2
Enphase Envoy refactor and extend diagnostics ( #109080 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-09 11:03:07 -10:00