Jan Bouwhuis
a1bc929421
Migrate Tibber notify service ( #116893 )
...
* Migrate tibber notify service
* Tests and repair flow
* Use notify repair flow helper
* Cleanup strings after using helper, use HomeAssistantError
* Add entry state assertions to unload test
* Update comment
* Update comment
2024-05-12 19:52:08 +02:00
Jan Bouwhuis
07061b14d0
Fix typo in mqtt test name ( #117305 )
2024-05-12 16:44:39 +02:00
Jan Bouwhuis
606a2848db
Fix import on File config entry and other improvements ( #117210 )
...
* Address comments
* Remove Name option for File based sensor
* Make sure platform schema is applied
2024-05-12 15:09:54 +02:00
Brett Adams
7509ccff40
Use entry runtime data in Teslemetry ( #117283 )
...
* runtime_data
* runtime_data
* Remove some code
* format
* Fix missing entry.runtime_data
2024-05-12 08:25:09 -04:00
Jan Bouwhuis
65a4e5a1af
Spelling of controlling in mqtt valve tests ( #117301 )
2024-05-12 14:06:21 +02:00
Jan Bouwhuis
92254772ca
Increase MQTT broker socket buffer size ( #117267 )
...
* Increase MQTT broker socket buffer size
* Revert unrelated change
* Try to increase buffer size
* Set INITIAL_SUBSCRIBE_COOLDOWN back to 0.5 sec
* Sinplify and add test
* comments
* comments
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-12 13:13:41 +02:00
Erik Montnemery
0acf392a50
Use `MockConfigEntry` in hue tests ( #117237 )
...
Use MockConfigEntry in hue tests
2024-05-11 23:36:54 -04:00
J. Nick Koston
481de8cdc9
Ensure config entry operations are always holding the lock ( #117214 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-12 08:20:08 +09:00
Joost Lekkerkerker
9f53c807c6
Refactor V2C tests ( #117264 )
...
* Refactor V2C tests
* Refactor V2C tests
* Refactor V2C tests
* Refactor V2C tests
* Update tests/components/v2c/conftest.py
* Refactor V2C tests
2024-05-11 21:28:37 +02:00
Jan Bouwhuis
7eb8f265fe
Add shared notify service migration repair helper ( #117213 )
...
* Add shared notifiy service migration repair helper
* Delete ecobee repairs.py
* Update dependency
* Fix file test
* Fix homematic tests
* Improve tests for file and homematic
2024-05-11 21:13:44 +02:00
Erik Montnemery
5c1f6aeb60
Use mock_config_flow helper in config tests ( #117245 )
2024-05-11 14:09:00 -04:00
hahn-th
8e71fca511
Bump homematicip to 1.1.1 ( #117175 )
2024-05-11 18:24:56 +02:00
Raman Gupta
9655db3d55
Fix zwave_js discovery logic for node device class ( #117232 )
...
* Fix zwave_js discovery logic for node device class
* simplify check
2024-05-11 17:41:03 +02:00
Erik Montnemery
3bea124d84
Sort asserts in config config_entries tests ( #117244 )
2024-05-11 17:38:07 +02:00
Erik Montnemery
813f97dedc
Rename some MQTT tests ( #117246 )
2024-05-11 16:57:46 +02:00
Erik Montnemery
745c4aef30
Rename some rflink tests ( #117247 )
2024-05-11 14:18:41 +01:00
Erik Montnemery
90a50c162d
Use MockConfigEntry in unifi tests ( #117238 )
2024-05-11 11:11:53 +02:00
J. Nick Koston
9e107a02db
Fix flakey advantage_air test ( #117224 )
2024-05-10 21:39:01 -05:00
J. Nick Koston
3ad489d835
Fix flakey sonos test teardown ( #117222 )
...
https://github.com/home-assistant/core/actions/runs/9039805087/job/24843300480?pr=117214
2024-05-10 21:24:49 -04:00
J. Nick Koston
c74c2f3652
Add state check to config entry setup to ensure it cannot be setup twice ( #117193 )
2024-05-11 07:09:28 +09:00
Markus
ed4c3196ab
Add ESPhome discovery via MQTT ( #116499 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-10 13:32:42 +02:00
Brett Adams
62d70b1b10
Add energy site coordinator to Teslemetry ( #117184 )
...
* Add energy site coordinator
* Add missing string
* Add another missing string
* Aprettier
2024-05-10 12:38:20 +02:00
Jan Bouwhuis
55c4ba12f6
Migrate file integration to config entry ( #116861 )
...
* File integration entry setup
* Import to entry and tests
* Add config flow
* Exception handling and tests
* Add config flow tests
* Add issue for micration and deprecation
* Check whole entry data for uniqueness
* Revert changes change new notify entity
* Follow up on code review
* Keep name service option
* Also keep sensor name
* Make name unique
* Follow up comment
* No default timestamp needed
* Remove default name as it is already set
* Use links
2024-05-10 10:54:36 +02:00
Brett Adams
1a4e416bf4
Refactor Teslemetry integration ( #112480 )
...
* Refactor Teslemetry
* Add abstractmethod
* Remove unused timestamp const
* Ruff
* Fix
* Update snapshots
* ruff
* Ruff
* ruff
* Lint
* Fix tests
* Fix tests and diag
* Refix snapshot
* Ruff
* Fix
* Fix bad merge
* has as property
* Remove _handle_coordinator_update
* Test and error changes
2024-05-10 10:52:33 +02:00
Bertrand Roussel
11f5b48724
Add standard deviation calculation to group ( #112076 )
...
* Add standard deviation calculation to group
* Add missing bits
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-05-10 10:16:09 +02:00
tizianodeg
d4fbaef4f6
Raise ServiceValidationError in Nibe climate services ( #117171 )
...
Fix ClimateService to rise ServiceValidationError for stack free logs
2024-05-10 09:22:20 +02:00
J. Nick Koston
4138c7a0ef
Handle tilt position being None in HKC ( #117141 )
2024-05-10 00:47:13 -05:00
Thomas55555
3fa2db84f0
Catch auth exception in husqvarna automower ( #115365 )
...
* Catch AuthException in Husqvarna Automower
* don't use getattr
* raise ConfigEntryAuthFailed
2024-05-09 16:56:26 +02:00
Kevin Worrel
c1f0ebee2c
Add screenlogic service tests ( #116356 )
2024-05-09 07:19:58 -05:00
Joost Lekkerkerker
6485973d9b
Add airgradient integration ( #114113 )
2024-05-09 10:54:29 +02:00
Luke Lashley
a77add1b77
Add better testing to vacuum platform ( #112523 )
...
* Add better testing to vacuum platform
* remove state strings
* some of the MR comments
* move MockVacuum
* remove manifest extra
* fix linting
* fix other linting
* Fix create entity calls
* Format
* remove create_entity
* change to match notify
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-09 00:33:23 +02:00
Luke Lashley
412e9bb072
Add test data for Zeo and Dyad devices to Roborock ( #117054 )
2024-05-09 00:16:48 +02:00
Sid
ac54cdcdb4
Enable Ruff RUF010 ( #115371 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-08 23:54:49 +02:00
Jan Bouwhuis
589104f63d
Export MQTT subscription helpers at integration level ( #116150 )
2024-05-08 23:46:50 +02:00
J. Nick Koston
6eeeafa8b8
Speed up tests by making mock_get_source_ip session scoped ( #117096 )
2024-05-08 23:42:35 +02:00
Jan Bouwhuis
840d8cb39f
Add open and opening state support to MQTT lock ( #117110 )
2024-05-08 22:52:57 +02:00
tizianodeg
92b246fda9
Fix nibe_heatpump climate for models without cooling support ( #114599 )
...
* fix nibe_heatpump climate for models without cooling support
* add test for set temperature with no cooling support
* fixup use self._coil_setpoint_cool None
* fixup add new test to explicitly test unsupported cooling
2024-05-08 21:02:43 +02:00
G Johansson
7862596ef3
Add `open` state to LockEntity ( #111968 )
...
* Add `open` state to LockEntity
* Add tests
* Fixes
* Fix tests
* strings and icons
* Adjust demo open lock
* Fix lock and tests
* fix import
* Fix strings
* mute ruff
* Change sequence
* Sequence2
* Group on states
* Fix ruff
* Fix tests
* Add more test cases
* Sorting
2024-05-08 20:42:22 +02:00
Luke Lashley
22bc11f397
Convert Anova to cloud push ( #109508 )
...
* current state
* finish refactor
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* address MR comments
* Change to sensor setup to be listener based.
* remove assert for websocket handler
* added assert for log
* remove mixin
* fix linting
* fix merge change
* Add clarifying comment
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Address MR comments
* bump version and fix typing check
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-05-08 14:53:44 +02:00
Erik Montnemery
fd8c36d93b
User eager task in github config flow ( #117066 )
2024-05-08 11:25:57 +02:00
Maciej Bieniek
40be1424b5
Store Tractive data in `config_entry.runtime_data` ( #116781 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-05-08 09:03:26 +02:00
Maciej Bieniek
e16a88a9c9
Set the quality scale to platinum for IMGW-PIB integration ( #116912 )
...
* Increase test coverage
* Set the quality scale to platinum
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-08 08:51:25 +02:00
Michael
2891a63281
Store runtime data inside the config entry in IPP ( #116765 )
...
* store runtime data inside the config entry
* improve tests
2024-05-08 01:16:06 -05:00
Kevin Stillhammer
3844e2d533
Add service waze_travel_time.get_travel_times ( #108170 )
...
* Add service waze_travel_time.get_travel_times
* Align strings with home-assistant.io
* Remove not needed service args
* Use SelectSelectorConfig.sort
* Move vehicle_type mangling to async_get_travel_times
2024-05-08 07:56:17 +02:00
Michael Hansen
7923471b94
Intent target matching and media player enhancements ( #115445 )
...
* Working
* Tests are passing
* Fix climate
* Requested changes from review
2024-05-07 22:01:03 -04:00
Joost Lekkerkerker
27d45f04c4
Fix capitalization in Monzo strings ( #117035 )
...
* Fix capitalization in Monzo strings
* Fix capitalization in Monzo strings
* Fix capitalization in Monzo strings
2024-05-07 22:33:10 +02:00
Maciej Bieniek
35d44ec90a
Store Airly runtime data in config entry ( #117031 )
...
* Store runtime data in config entry
* Fix tests
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-07 22:04:37 +02:00
J. Nick Koston
649dd55da9
Simplify MQTT subscribe debouncer execution ( #117006 )
2024-05-07 14:41:31 -05:00
Álvaro Fernández Rojas
3774d8ed54
Add climate temp ranges support for Airzone Cloud ( #115025 )
...
airzone_cloud: climate: add temperature ranges support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-05-07 21:29:45 +02:00
Thomas Kistler
14fcf7be8e
Add flow and rain sensor support to Hydrawise ( #116303 )
...
* Add flow and rain sensor support to Hydrawise
* Address comments
* Cleanup
* Review comments
* Address review comments
* Added tests
* Add icon translations
* Add snapshot tests
* Clean up binary sensor
* Mypy cleanup
* Another mypy error
* Reviewer feedback
* Clear next_cycle sensor when the value is unknown
* Reviewer feedback
* Reviewer feedback
* Remove assert
* Restructure switches, sensors, and binary sensors
* Reviewer feedback
* Reviewer feedback
2024-05-07 21:26:10 +02:00