epenet and GitHub
f188668d8a
Rename gree coordinator module ( #117474 )
2024-05-15 08:57:27 +02:00
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <[email protected] >
2024-04-06 11:07:37 +02:00
Joost Lekkerkerker and GitHub
906d3198e3
Use is in enum comparison in config flow tests F-J ( #114670 )
...
* Use right enum expression F-J
* Fix
2024-04-02 23:01:37 +02:00
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <[email protected] >
Co-authored-by: Marc Mueller <[email protected] >
Co-authored-by: J. Nick Koston <[email protected] >
2024-03-26 00:02:16 +01:00
Erik Montnemery and GitHub
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
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <[email protected] >
2024-03-19 09:01:07 +01:00
Marc Mueller and GitHub
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller and GitHub
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
Joost Lekkerkerker and GitHub
b117deff58
Add icon translations to Gree ( #111662 )
...
* Add icon translations to Gree
* Add icon translations to Gree
2024-02-28 11:38:16 +01:00
Franck Nijhof and GitHub
e0a9dcd996
Add label registry ( #110821 )
2024-02-19 11:59:08 +01:00
G Johansson and GitHub
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
83f4d3af5c
Implement mode validation in Climate entity component ( #105745 )
...
* Implement mode validation in Climate entity component
* Fix some tests
* more tests
* Fix translations
* fix deconz tests
* Fix switcher_kis tests
* not None
* Fix homematicip_cloud test
* Always validate
* Fix shelly
* reverse logic in validation
* modes_str
---------
Co-authored-by: J. Nick Koston <[email protected] >
2023-12-27 14:51:39 +01:00
Jan-Philipp Benecke and GitHub
2d02cdcd0d
Migrate gree tests to use freezegun ( #105340 )
2023-12-09 10:19:42 +01:00
Joost Lekkerkerker and GitHub
00e87b9dff
Migrate Gree to has entity name ( #104739 )
...
* Migrate Gree to has entity name
* Migrate Gree to has entity name
2023-12-07 22:47:52 +01:00
84b71c9ddb
Allow setting hvac mode through set_temperature climate method in Gree integration ( #101196 )
...
* Allow setting hvac mode through set_temperature climate method
* Suggested code simplification when reading hvac mode
Co-authored-by: G Johansson <[email protected] >
* Remove unnecessary temperature unit handling from set temperature with hvac mode tests
---------
Co-authored-by: G Johansson <[email protected] >
2023-10-30 22:10:47 +01:00
J. Nick Koston and GitHub
433c022687
Save previous unique id in entity registry when it changes ( #102093 )
2023-10-16 21:26:19 -10:00
12129e9d21
Update service call return values and error handling ( #94657 )
...
* Update return signature of service calls
* Add timeout error handling in websocket api for service calls
* Update recorder tests to remove assertion on service call
* Remove timeout behavior and update callers that depend on it today
* Fix tests
* Add missing else
* await coro directly
* Fix more tests
* Update the intent task to use wait instead of timeout
* Remove script service call limits and limit constants
* Update tests that depend on service call limits
* Use wait instead of wait_for and add test
* Update homeassistant/helpers/intent.py
Co-authored-by: Martin Hjelmare <[email protected] >
---------
Co-authored-by: Paulus Schoutsen <[email protected] >
Co-authored-by: Martin Hjelmare <[email protected] >
2023-06-16 07:01:40 -07:00
epenet and GitHub
8c519e1abb
Use SnapshotAssertion in gree climate tests ( #90339 )
2023-03-27 10:01:39 +02:00
epenet and GitHub
a036e31495
Use SnapshotAssertion in gree switch tests ( #90222 )
2023-03-26 19:51:48 +02:00
epenet and GitHub
69a46d4002
Adjust pylint plugin for components fixtures ( #90217 )
...
* Adjust pylint plugin for components fixtures
* Adjust components
* Use MagicMock
* Adjust
* Use None
2023-03-26 15:21:19 +02:00
solazs and GitHub
b151923619
Add health mode to gree integration ( #89764 )
...
Add health mode to gree integration.
2023-03-23 08:56:47 +01:00
epenet and GitHub
adfd263635
Add missing mock in gree config flow tests ( #89450 )
2023-03-09 18:12:22 +01:00
Franck Nijhof and GitHub
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 and GitHub
89e4ee5320
Add type hints to integration tests (part 8) ( #87982 )
2023-02-13 11:13:48 +01:00
epenet and GitHub
7a4d15a657
Add type hints to integration tests (f-g) ( #87700 )
2023-02-08 13:33:52 +01:00
Michael and GitHub
e5f67c9119
Replace the usage of unit constants by enumerations in Tests [f-g] ( #85933 )
2023-01-15 14:46:45 +01:00
epenet and GitHub
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
Jc2k and GitHub
1aa0e64354
Update gree to use the network component to set discovery interfaces ( #75812 )
2022-08-06 21:45:44 +01:00
Franck Nijhof and GitHub
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
epenet and GitHub
23c5bd9779
Use climate enums in gree ( #70655 )
...
* Use climate enums in gree
* Adjust tests
2022-04-25 10:58:39 +02:00
epenet and GitHub
20c1a155b6
Use EntityFeature enum in components (g**) ( #69394 )
2022-04-06 10:46:44 +02:00
Clifford Roche and GitHub
d6c27809dc
Gree update device ips when changed ( #57876 )
2021-12-03 11:18:53 -08:00
Robert Hillis and GitHub
ee07e9b379
Fix unpatched timeout in gree config flow tests ( #59449 )
2021-11-14 16:57:50 +01:00
Clifford Roche and GitHub
327208c943
Bugfix current temperature in gree climate ( #53149 )
...
* Bugfix current temperature gree climate
* Retry build
* Update from the review
2021-07-19 17:07:15 +02:00
Clifford Roche and GitHub
b63e38f538
Add more Gree switches ( #49629 )
...
* Support additional switch for gree devices
* Undo some changes not related to review
* Retry build
* Back to Gree 0.11.7
2021-07-18 08:24:09 +02:00
Clifford Roche and GitHub
bc30920824
Correctly support use of Farenheit in Gree Climate component ( #50260 )
2021-06-08 00:21:03 +02:00
Ville Skyttä and GitHub
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
4ce6d00a22
Improve the discovery process for Gree ( #45449 )
...
* Add support for async device discovery
* FIx missing dispatcher cleanup breaking integration reload
* Update homeassistant/components/gree/climate.py
Co-authored-by: Erik Montnemery <[email protected] >
* Update homeassistant/components/gree/switch.py
Co-authored-by: Erik Montnemery <[email protected] >
* Update homeassistant/components/gree/bridge.py
Co-authored-by: Erik Montnemery <[email protected] >
* Working on feedback
* Improving load/unload tests
* Update homeassistant/components/gree/__init__.py
Co-authored-by: Erik Montnemery <[email protected] >
* Working on more feedback
* Add tests covering async discovery scenarios
* Remove unnecessary shutdown
* Update homeassistant/components/gree/__init__.py
Co-authored-by: Erik Montnemery <[email protected] >
* Code refactor from reviews
Co-authored-by: Erik Montnemery <[email protected] >
2021-04-13 11:54:03 +02:00
Franck Nijhof and GitHub
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Clifford Roche and GitHub
f0e96f739b
Add turn_on and turn_off to gree climate component ( #43207 )
2021-01-01 13:58:38 +01:00
Clifford Roche and GitHub
ee97023053
Add support for Gree device light panels ( #42979 )
2020-12-28 22:32:04 +01:00
Clifford Roche and GitHub
eb9e9e67f0
Update greeclimate to 0.10.3 ( #43248 )
...
* Update greeclimate to 0.10.3
* Device search needs to be mocked in tests
2020-11-15 11:06:51 -06:00
839b9f226e
Add gree climate integration ( #37498 )
...
Co-authored-by: Martin Hjelmare <[email protected] >
2020-10-14 15:15:56 +02:00