epenet
0c4bc95bdd
Migrate base entity attributes to StrEnum ( #174633 )
2026-06-24 15:38:49 +01:00
some-random-climber
1f6c45ca7a
Migrate async_setup_entry test calls to hass.config_entries.async_setup ( #173849 )
2026-06-15 10:49:26 +02:00
Joost Lekkerkerker
c07fed05df
Add pylint rule for checking async_setup_entry calls in tests ( #171864 )
2026-05-28 19:28:29 +02:00
Franck Nijhof
31f98c12af
Fix line length violations in tests/components b ( #170825 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: frenck <195327+frenck@users.noreply.github.com >
2026-05-15 15:51:13 -04:00
epenet
88525955ce
Remove import annotations from tests ( #169527 )
2026-04-30 09:30:46 +02:00
Artur Pragacz
bafef2065f
Rework user-given entity name logic ( #162763 )
2026-03-17 11:09:20 +01:00
Artur Pragacz
0130919128
Improve entity id generation ( #160302 )
2026-01-14 14:34:52 +01:00
epenet
adbab150af
Move blue_current services to separate module ( #158389 )
2025-12-12 16:50:34 +01:00
Joakim Plate
c3fcd34d4c
Fix blue current mocking out platform with empty string ( #153604 )
...
Co-authored-by: Josef Zweck <josef@zweck.dev >
2025-10-04 15:17:56 +02:00
Nick Kuiper
ddea2206c3
Add start charge session action for blue current integration. ( #145446 )
2025-09-24 08:11:33 +02:00
Nick Kuiper
1c8ae8a21b
Add switches for blue current integration. ( #146210 )
2025-07-23 15:12:53 +02:00
Erik Montnemery
4e1d5fbeb0
Add WS command to help reset custom entity_id ( #145504 )
...
* Add WS command to help reset custom entity_id
* Calculate suggested object id from entity properties
* Fix logic and add additional tests
* Adjust test
* Update folder_watcher test
* Handle current entity id matches the automatic entity id
* Don't store calculated_object_id
* Update snapshots
* Update snapshots
* Update test
* Tweak logic for reusing current entity_id
* Improve test
* Don't assign same entity_id to several entities
* Prioritize custom entity name
* Update snapshots
* Update snapshots
2025-05-26 19:28:27 +02:00
Nick Kuiper
4b7650f2d2
Add buttons to Blue current integration ( #143964 )
...
* Add buttons to Blue current integration
* Apply feedback
* Changed configEntry to use the BlueCurrentConfigEntry.
The connector is now accessed via the entry instead of hass.data.
* Changed test_buttons_created test to use the snapshot_platform function.
Also removed the entry.unique_id check in the test_charge_point_buttons function because this is not needed anymore, according to https://github.com/home-assistant/core/pull/114000#discussion_r1627201872
* Applied requested changes.
Changes requested by joostlek.
* Moved has_value from BlueCurrentEntity to class level.
This value was still inside the __init__ function, so the value was not overwritten by the ChargePointButton.
---------
Co-authored-by: Floris272 <florispuijk@outlook.com >
2025-05-14 19:37:16 +02:00
epenet
bdd3aa8e39
Use start_reauth helper method in config flow tests (a-d) ( #124780 )
...
* Use start_reauth helper method in integration tests (a-d)
* Revert broadlink
* Revert bthome
2024-08-28 15:48:36 +02:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
epenet
8837c50da7
Use registry fixtures in tests (a-h) ( #118288 )
2024-05-28 13:15:16 +02:00
epenet
0b01326f9f
Use is in ConfigEntryState enum comparison in tests (A-M) ( #114925 )
2024-04-05 17:16:55 +02:00
Joost Lekkerkerker
9b41e3d124
Use is in enum comparison in config flow tests A-E ( #114669 )
2024-04-02 11:22:05 -10:00
Floris272
d14a442ac3
Improve blue current integration code ( #114004 )
2024-03-23 22:35:53 -10:00
Floris272
249f708071
Bump bluecurrent-api to 1.2.2 ( #110483 )
2024-03-20 11:28:27 +01:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Floris272
7dc9ad63bd
Implement late feedback for Bluecurrent ( #106918 )
...
* Apply changes
* Fix MockClient
* Apply feedback
* Remove connector tests
* Change MockClient to inhert MagicMock
* Add reconnect tests and refactor mock client
* Refactor mock exception throwing
* Add future_fixture
* Move mocked client methods into create_client_mock
* Remove fixture and separate event from mock_client
* Add FutureContainer to store the loop_future
2024-02-11 20:57:38 +01:00
Floris272
ee1b0b46ce
Add reauth to Blue Current integration ( #106658 )
...
* Add reauth to Blue Current integration.
* Apply feedback
* Fix failing codecov check
* Fix patches
* Add wrong_account to strings.json
2023-12-30 13:53:35 +01:00
Floris272
8b0d19aca2
Add bluecurrent integration ( #82483 )
...
* Add bluecurrent integration
* Apply feedback
* Rename integration
* changed constants and removed strings.sensor.json
* update blue_current integration
* update bluecurrent-api to 1.0.4
* Update bluecurrent-api to 1.0.5
* Apply feedback
* Remove translation
* Apply feedback
* Use customer_id as unique id
* Apply feedback
* Add @pytest.mark.parametrize
* Replace loop.create_task with async_create_task
2023-12-22 16:34:16 +01:00