Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Erik Montnemery
426f73b1f4
Add State.last_reported ( #113511 )
...
* Add State.last_reported
* Update tests
* Update test snapshots
* Call state_reported listeners when firing state_changed event
* Add tests
2024-03-20 21:05:07 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
Joost Lekkerkerker
c00426293d
Add icon translations to Twentemilieu ( #112327 )
2024-03-06 11:51:23 +01:00
Franck Nijhof
e0a9dcd996
Add label registry ( #110821 )
2024-02-19 11:59:08 +01:00
J. Nick Koston
ddab106391
Migrate twentemilieu to use async_update_entry to alter config entries ( #110419 )
2024-02-12 22:55:05 +01:00
Erik Montnemery
6908497c3d
Add minor version to config entries ( #105479 )
2023-12-12 08:44:35 +01:00
Erik Montnemery
1621310ba7
Add serial_number to device registry entries ( #102334 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-22 15:14:44 +02:00
J. Nick Koston
433c022687
Save previous unique id in entity registry when it changes ( #102093 )
2023-10-16 21:26:19 -10:00
Joost Lekkerkerker
7ccb06ed22
Add entity translations to Twentemilieu ( #96762 )
2023-07-17 17:26:13 +02:00
epenet
7b3a932cd9
Remove incorrect constant usage in test ( #91198 )
2023-04-11 10:00:17 +02:00
epenet
a0f725dfcb
Add type hints to tests ( #89497 )
2023-03-10 12:06:50 +01:00
Bob van de Vijver
b27b094e27
Add day to event end to correct TwenteMilieu event timespan ( #89028 )
...
[TwenteMilieu] Add day to event end to correct event timespan
Co-authored-by: Allen Porter <allen@thebends.org>
2023-03-03 20:06:28 -08:00
Franck Nijhof
6112793b19
Modernize Twentemilieu tests ( #88640 )
2023-02-23 10:26:17 -05:00
epenet
9a5f88f55f
Add type hints to integration tests (part 23) ( #88235 )
2023-02-17 16:40:46 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ( #86954 )
...
* Adjust hass_client type hint in integration tests
* Adjust hass_client_no_auth
* Fix rebase
2023-02-02 16:29:57 -05:00
Marc Mueller
2e989b16ad
Improve DataUpdateCoordinator typing in integrations (9) ( #85332 )
2023-01-07 14:52:06 +01:00
Franck Nijhof
bcf32f8331
Mark required fields in FlowResult typedict ( #84811 )
...
* Mark required fields in FlowResult typedict
* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Allen Porter
532ab12a48
Local calendar integration ( #79601 )
2022-11-30 21:20:21 +01:00
Franck Nijhof
81e7eb623b
Migrate Twente Milieu to new entity naming style ( #74593 )
2022-07-09 23:40:55 +02:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
Matej Drobnič
690fb2ae86
Add back description and location to calendar endpoint ( #71887 )
2022-05-15 20:31:22 +02:00
Allen Porter
f99b6004ea
Cleanup calendar APIs and introduce a dataclass for representing events ( #68843 )
...
* Introduce data class to hold calendar event data
* Rename CalendarEventDevice to CalendarEntity
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix docstring on google calendar api conversion function.
* Update todoist to new calendar enttiy api, tested manually
* Add back old API for a legacy compatibility layer
* Add deprecation warning for old calendar APIs
* Fix deprecation warning
* Fix merge for missing summary #69520
* Add mypy typing for newly introduced classes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 12:04:07 -07:00
Franck Nijhof
1d35b91a14
Add calendar platform to Twente Milieu ( #68190 )
...
* Add calendar platform to Twente Milieu
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Sorting...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-20 20:37:01 +01:00
Franck Nijhof
f7cb10e2f5
Update twentemilieu to 0.6.0 ( #68171 )
2022-03-15 12:05:15 +01:00
Franck Nijhof
4f4fca0d14
Add diagnostics support to TwenteMilieu ( #64627 )
2022-01-21 16:39:21 +01:00
Franck Nijhof
42bae5439b
Add support for Christmas Tree pickup to TwenteMilieu ( #60822 )
2021-12-02 10:21:19 +01:00
Franck Nijhof
79ebc1b79a
Use device class enums in TwenteMilieu ( #60686 )
2021-12-01 10:25:26 +01:00
Ville Skyttä
053c456199
Change device entry type to an StrEnum ( #59940 )
...
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-22 18:14:15 +01:00
Franck Nijhof
458bc92124
Add test coverage to Twente Milieu ( #59640 )
2021-11-14 11:11:29 +01:00
Franck Nijhof
28a0ba4df3
Modernize/Simplify Twente Milieu ( #59632 )
2021-11-13 15:34:09 +01:00
J. Nick Koston
34c84a6bbb
Reduce boilerplate to abort for matching config entries ( #50186 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-11 22:00:12 +02:00
Martin Hjelmare
48b5ef0bac
Clean twentemilieu config flow tests ( #50460 )
2021-05-11 15:53:36 +02:00
Franck Nijhof
8f31b09b55
Complete typing on TwenteMilieu integration ( #47480 )
2021-03-05 15:33:26 -08:00
scheric
1f4fe62380
Use common strings in twentemilieu config flow ( #41647 )
2020-10-11 14:54:08 +02:00
springstan
6a7caad8dc
Use content type json constant ( #40312 )
2020-09-23 20:21:55 +02:00
Franck Nijhof
46fa20411e
Bump twentemilieu to 0.3.0 ( #33622 )
...
* Bump twentemilieu to 0.3.0
* Fix tests
2020-04-04 14:51:12 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Franck Nijhof
9d4b5ee58d
Add Twente Milieu integration ( #25129 )
...
* Adds Twente Milieu integration
* Addresses flake8 warnings
* Adds required test deps
* Fixes path typo in coveragerc
* dispatcher_send -> async_dispatcher_send
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Removes not needed __init__
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Remove explicitly setting None default value on get call
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Correct typo in comment
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Clean storage for only the unloaded entry
Signed-off-by: Franck Nijhof <frenck@addons.community>
* asyncio.wait on updating all integrations
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Use string formatting
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Set a more sane SCAN_INTERVAL
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Small refactor around services
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Small styling correction
* Extract update logic into own function
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Addresses flake8 warnings
2019-07-14 12:30:23 +02:00