Joost Lekkerkerker
f3ba713289
Use FlowResultType enum in config flow tests N-Z ( #114682 )
...
Use FlowResultType enum in config flow tests
2024-04-03 09:53:20 +02:00
Joost Lekkerkerker
ee66f6ec8c
Use is in enum comparison in config flow tests P-T ( #114675 )
2024-04-02 11:21:50 -10:00
J. Nick Koston
65358c129a
Replace periodic tasks with background tasks ( #112726 )
...
* Phase out periodic tasks
* false by default or some tests will block forever, will need to fix each one manually
* kwarg works
* kwarg works
* kwarg works
* fixes
* fix more tests
* fix more tests
* fix lifx
* opensky
* pvpc_hourly_pricing
* adjust more
* adjust more
* smarttub
* adjust more
* adjust more
* adjust more
* adjust more
* adjust
* no eager executor
* zha
* qnap_qsw
* fix more
* fix fix
* docs
* its a wrapper now
* add more coverage
* coverage
* cover all combos
* more fixes
* more fixes
* more fixes
* remaining issues are legit bugs in tests
* make tplink test more predictable
* more fixes
* feedreader
* grind out some more
* make test race safe
* one more
2024-03-08 21:45:10 -05:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
Marc Mueller
438d3b01b9
Use builtin TimeoutError [o-s] ( #109682 )
2024-02-05 12:14:37 +01:00
G Johansson
ddb56fe20d
Modify climate turn_on/off backwards compatibility check ( #109195 )
...
* Modify climate turn_on/off backwards compatibility check
* Fix logger message
* Comments
* Fix demo
* devolo
* ecobee
* Some more
* Fix missing feature flag
* some more
* and some more
* Remove demo change
* Add back demo change
* Fix demo
* Update comments
2024-01-31 16:29:36 +01:00
G Johansson
bc720b48b4
Add TURN_OFF and TURN_ON to ClimateEntityFeature ( #101673 )
...
* Add ClimateEntityFeature.TURN_OFF
* Fixes
* Fixes
* wording
* Change to services
* Fixing
* Fixing
* Last bits
* Review comments
* Add hvac_modes checks
* Fixes
* Add tests
* Review comments
* Update snapshots
* balboa
* coolmaster
* ecobee
* mqtt
* nest
* plugwise
* smarttub
* whirlpool
* zwave_js
* fix test climate
* test climate
* zwave
* nexia
* nuheat
* venstar
* tado
* smartthings
* self.hvac_modes not None
* more tests
* homekit_controller
* homekit controller snapshot
2024-01-30 15:07:47 +01:00
Matt Zimmerman
370345ce2b
Map missing preset mapping for heat mode "ready" in smarttub ( #106856 )
2024-01-01 17:58:12 -10:00
Matt Zimmerman
fd3d615c0d
Handle smarttub sensor values being None ( #103385 )
...
* [smarttub] handle sensor values being None
* empty commit to rerun CI
* lint
* use const in test
* reorder checks
* use None instead of STATE_UNKNOWN
* empty commit to rerun CI
* check for STATE_UNKNOWN in test
* empty commit to rerun CI
2023-11-06 04:11:50 +01:00
J. Nick Koston
9b27552238
Fix race in starting reauth flows ( #103130 )
2023-10-31 12:38:05 -05:00
Ville Skyttä
940942a74a
Import `util.dt` as `dt_util` in `components/[p-s]*` ( #93761 )
2023-05-30 00:09:42 +03:00
epenet
3a9adacdde
Add type hints to integration tests (part 20) ( #88179 )
2023-02-15 15:23:34 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
ba85fdcd61
Add type hints to integration tests (q-s) ( #87706 )
2023-02-08 08:12:54 -08:00
epenet
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
epenet
c44391f368
Use climate enums in smarttub ( #70738 )
2022-04-26 09:10:48 +02:00
Franck Nijhof
9e33a3014c
Automatically add entry title as name placeholder in reauth ( #64078 )
2022-01-18 14:18:16 -08:00
Matt Zimmerman
da1d6d3821
Add service to reset SmartTub reminders ( #51824 )
...
* Add service to reset SmartTub reminders
* add test
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 20:59:11 +02:00
Matt Zimmerman
fad7e43c4f
Add state attribute to SmartTub reminders for days remaining ( #51825 )
2021-06-27 18:39:40 +02:00
Matt Zimmerman
ffb9ab21c1
Add binary sensor for smarttub errors ( #49364 )
2021-05-26 09:25:47 -07:00
Matt Zimmerman
aa18ad2abf
Add service to snooze SmartTub reminders ( #51012 )
...
* Add service to snooze SmartTub reminders
* minimum is 10 days
* 0->10 in services.yaml as well
* Update homeassistant/components/smarttub/services.yaml
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/smarttub/services.yaml
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-25 18:37:00 +02:00
Matt Zimmerman
87438dd401
Add services to SmartTub for changing filtration settings ( #46980 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-23 09:00:24 -05:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Matt Zimmerman
e6d94845dd
SmartTub: use get_full_status() ( #49580 )
2021-04-22 18:55:58 -10:00
Matt Zimmerman
fec6ea3f76
SmartTub cleanup ( #49579 )
2021-04-22 18:54:55 -10:00
Matt Zimmerman
8c52dfa1c5
Implement reauth for smarttub ( #47628 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-21 21:28:24 -10:00
Franck Nijhof
7264c95217
Clean up superfluous integration setup - part 6 ( #49298 )
2021-04-16 09:23:27 -07:00
Matt Zimmerman
5265aabf92
Clean up SmartTub reminders ( #48033 )
...
* remove "date" state attribute
* remove unused constant
2021-03-24 08:39:23 +01:00
Matt Zimmerman
73c6728e98
Add binary_sensor entities for SmartTub reminders ( #47583 )
2021-03-16 17:38:09 +01:00
Matt Zimmerman
7840db0598
Restore switch.turn_on and switch.turn_off functionality for SmartTub pumps ( #47586 )
...
Revert "Remove turn_on and turn_off from SmartTub pump switches (#47184 )"
This reverts commit bab66a5cb9
.
2021-03-10 01:26:54 +01:00
Matt Zimmerman
947f6ea51e
Parameterize SmartTub tests ( #47189 )
...
* Parameterize SmartTub tests
* parameterize light service calls
* remove stray print()
* add comment
2021-03-01 13:53:57 +01:00
Matt Zimmerman
277c3cb661
Cleanup SmartTub filtration cycles ( #47192 )
2021-02-28 13:53:57 -10:00
Matt Zimmerman
bab66a5cb9
Remove turn_on and turn_off from SmartTub pump switches ( #47184 )
2021-02-28 13:48:30 -10:00
Matt Zimmerman
81d011efc5
Add binary sensor to SmartTub for online status ( #46889 )
2021-02-22 04:10:00 -10:00
Matt Zimmerman
b2b476596b
Add UV sensor to SmartTub ( #46888 )
2021-02-21 20:25:01 -10:00
Matt Zimmerman
5cd022a683
Add light platform to SmartTub ( #46886 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-21 20:09:21 -10:00
Matt Zimmerman
5d8390fd9b
Add support for SmartTub filtration cycles ( #46868 )
2021-02-21 19:36:50 -10:00
Matt Zimmerman
a8be5be376
Add switch platform and pump entity to SmartTub ( #46842 )
2021-02-21 18:48:27 -10:00
Matt Zimmerman
d32dbc4cdd
Add support for SmartTub heat modes ( #46876 )
2021-02-21 18:46:54 -10:00
Matt Zimmerman
12c4db076c
Add more sensors to SmartTub integration ( #46839 )
2021-02-21 17:40:23 -10:00
Matt Zimmerman
115fe26642
Add smarttub sensor platform and state sensor ( #46775 )
2021-02-20 12:25:02 -10:00
Matt Zimmerman
da51e23514
Address late smarttub review ( #46703 )
...
* _config -> config
* remove unused string
* remove entity tests
* replace unit tests with integration tests using the core
* refactor polling to use asyncio.gather
* remove redundant component init
* remove gather in favor of simple loop
* use async_fire_time_changed instead of async_update_entity
* use hass.config_entries.async_setup instead of calling smarttub.async_setup_entry directly
* replace stray smarttub.async_setup_entry call
* async_unload_entry -> hass.config_entries.async_unload
* remove broken test
2021-02-19 01:18:02 +01:00
Matt Zimmerman
58499946ed
Add SmartTub integration ( #37775 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-16 19:37:56 -10:00