Artur Pragacz
9f361e63b5
Do not set a device on YAML generic_thermostat entities ( #177602 )
2026-07-30 10:54:47 +02:00
epenet and Claude Opus 4.8
5083dc41a0
Add TARGET_TEMPERATURE/TARGET_HUMIDITY to climate state attributes ( #176193 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-25 12:00:49 +02:00
Erik Montnemery
1d885bd073
Restrict device registry entries to a single config entry and subentry ( #175785 )
2026-07-16 22:10:10 +02:00
epenet
0c4bc95bdd
Migrate base entity attributes to StrEnum ( #174633 )
2026-06-24 15:38:49 +01:00
epenet
22a583c83f
Migrate climate entity attributes to StrEnum ( #174528 )
2026-06-23 16:48:38 +02:00
Martin Hjelmare
40073e598c
Fix pylint utcnow checker for dt_util.UTC ( #173083 )
2026-06-05 16:14:57 +02:00
Joost Lekkerkerker
912a839d66
Don't call migrate entry in generic thermostat tests directly ( #171887 )
2026-05-22 21:44:10 +02:00
Franck Nijhof
5c29580969
Fix line length violations in tests/components g ( #170882 )
2026-05-16 17:06:36 +02:00
14a8ef6e48
Allow setting hvac_mode in generic_thermostat.set_temperature ( #168062 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
2026-05-11 14:41:53 +02:00
epenet
88525955ce
Remove import annotations from tests ( #169527 )
2026-04-30 09:30:46 +02:00
Erik Montnemery
c65dc842a5
Fix generic_thermostat context handling ( #168080 )
2026-04-14 08:03:56 +02:00
Eli Sand
fab4355cc8
Enhance generic_thermostat with min/max run time and cooldown time ( #136298 )
2026-03-13 14:22:33 +01:00
epenet
7cfcfca210
Remove outdated device registry cleanup in generic_thermostat ( #161861 )
2026-01-31 15:14:57 +01:00
scheric and Abílio Costa
86a5cc5edb
Add keep_alive to generic_thermostat config flow ( #156641 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
2026-01-13 23:20:40 +00:00
Erik Montnemery
42101dd432
Remove result from FlowResult ( #149202 )
2025-07-31 10:58:36 +02:00
Erik Montnemery
3ae9ea3f19
Do not add generic_thermostat config entry to source device ( #148728 )
2025-07-14 20:18:21 +02:00
G Johansson and Martin Hjelmare
25e6eab008
Not valid hvac modes now fails in Climate ( #145242 )
...
* Not valid hvac modes now fails
* Fix some tests
* Some more
* More
* fix ruff
* HVAC
* Fritzbox
* Clean up
* Use dict[key]
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2025-06-12 07:15:07 +02:00
Erik Montnemery
09a5ac5979
Handle changes to source entities in generic_thermostat helper ( #146541 )
2025-06-11 15:26:52 +02:00
epenet
695f69bd90
Remove unnecessary DOMAIN alias in tests (e-k) ( #145818 )
2025-05-28 21:06:25 +03:00
Eli Sand
5106548f2c
Fix generic_thermostat so it doesn't turn on when current temp is within target temp range ( #138209 )
...
* Don't turn on thermostat if temp is equal to target temp.
* Update strings to reflect logic change.
* Fix logic and add zero tolerance tests.
* Include tests for cool mode
* Removed unnecessary async_block_till_done calls
2025-03-30 19:43:13 +01:00
epenet
7b1b229718
Standardize homeassistant imports in component tests (a-l) ( #136806 )
2025-01-29 10:00:45 +01:00
Fábio Domingues
8172afd9f4
Auto select thermostat preset when selecting temperature ( #134146 )
2025-01-23 09:41:29 +01:00
G Johansson
3ddef56167
Fix step in presets for generic thermostat ( #128922 )
2024-10-23 08:13:42 +02:00
epenet
fe2402b611
Add alias to DOMAIN import in tests [e-g] ( #125575 )
2024-09-09 15:18:28 +02:00
epenet
25d33e96cc
Add missing hass type hint in component tests (g) ( #124203 )
2024-08-19 00:29:26 -07:00
G Johansson
a913587eb6
Climate validate temperature(s) out of range ( #118649 )
...
* Climate temperature out of range
* Fix test sensibo
* use temp converting for min/max
* Fix
* Fix mqtt tests
* Fix honeywell tests
* Fix Balboa tests
* Fix whirlpool test
* Fix teslemetry test
* Fix plugwise test
* Fix tplink test
* Fix generic thermostat test
* Fix modbus test
* Fix fritzbox tests
* Honewell
2024-07-31 19:17:53 +02:00
epenet
02581bbf02
Enforce HOMEASSISTANT_DOMAIN alias for core DOMAIN ( #122763 )
2024-07-29 22:10:44 +02:00
dougiteixeira
75b1700ed3
Move constants to const.py in generic Thermostat ( #120789 )
2024-07-19 19:49:11 +02:00
epenet
1eec49696a
Improve type hints in generic_hygrostat/thermostat tests ( #121167 )
2024-07-04 10:30:17 +02:00
dougiteixeira
8ed11d4b90
Link Generic Thermostat helper entity to actuator entity device ( #120767 )
2024-06-28 23:37:51 +02:00
Joakim Plate and Franck Nijhof
4d982a9227
Add config flow to generic thermostat ( #119930 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2024-06-22 18:26:39 +02:00
Em
7d44321f0f
Remove duplicate tests in generic_thermostat ( #105622 )
...
Tests using `setup_comp_4` and `setup_comp_6` have been replaced by a parameterized tests in #105643 . Tests using `setup_comp_5` are therefore still duplicates and are removed.
2024-05-24 12:24:05 +02:00
J. Nick Koston
d321906342
Always run keyed event trackers immediately ( #114709 )
2024-04-04 15:30:01 -10:00
Jan-Philipp Benecke
c2ffed9b2d
Use switch entities instead of toggle entities in tests ( #114585 )
2024-04-02 08:25:28 +02:00
Jan-Philipp Benecke
71a0a7fe00
Use setup_test_component_platform helper for switch entity component tests instead of hass.components ( #114305 )
...
* Use `setup_test_component_platform` helper for switch entity component tests instead of `hass.components`
* Do not import fixtures
* Re-add switch.py to testing_config as stub
* Rename to mock_toggle_entities
2024-03-28 13:56:23 +01:00
Em
7c4747bb02
Parameterize some tests in generic_thermostat ( #105643 )
...
* test(generic_thermostat): parameterize some tests
* refactor: improvements following review
2024-03-13 18:23:52 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Minims
597118d584
Add ECO temp to Generic Thermostat ( #110471 )
...
feat: add ECO temp to Generic Thermostat.
2024-02-24 20:17:22 +01:00
J. Nick Koston
c399cab427
Small speed up to checking core state ( #107845 )
2024-01-18 08:41:32 -10:00
G Johansson and J. Nick Koston
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 <nick@koston.org >
2023-12-27 14:51:39 +01:00
Jan-Philipp Benecke
04a497343d
Update f-g* tests to use entity & device registry fixtures ( #103841 )
2023-11-12 13:07:38 +01:00
Justin Grover
475cb7719b
Add unique ID for generic hygrostat ( #101503 )
2023-10-06 20:15:40 +02: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 <marhje52@gmail.com >
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2023-06-16 07:01:40 -07:00
J. Nick Koston
e80579e52f
Update generic_thermostat tests to avoid patching utcnow ( #93479 )
2023-05-24 13:17:28 -05: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
b68f502769
Add type hints to integration tests (part 7) ( #87980 )
2023-02-13 09:53:09 +01:00
epenet
7a4d15a657
Add type hints to integration tests (f-g) ( #87700 )
2023-02-08 13:33:52 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Michael
e5f67c9119
Replace the usage of unit constants by enumerations in Tests [f-g] ( #85933 )
2023-01-15 14:46:45 +01:00
epenet
e84e5f134e
Use US_CUSTOMARY_SYSTEM in tests ( #80658 )
...
* Use US_CUSTOMARY_SYSTEM in tests
* Don't update test_unit_system
2022-10-20 15:42:23 +02:00