dougiteixeira
8ed11d4b90
Link Generic Thermostat helper entity to actuator entity device ( #120767 )
2024-06-28 23:37:51 +02:00
Marc Mueller
6bceb8ec48
Add some more VolDictType annotations ( #120610 )
2024-06-26 22:44:43 +02:00
epenet
e06d7050f2
Force alias when importing climate PLATFORM_SCHEMA ( #120518 )
2024-06-26 10:55:09 +02:00
Joakim Plate
4d982a9227
Add config flow to generic thermostat ( #119930 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-22 18:26:39 +02:00
Marc Mueller
3c5089bc3f
Update import for EventStateChangedData [a-h] ( #114899 )
2024-04-04 11:48:36 -10:00
J. Nick Koston
31a9c9451e
Use async api in generic_thermostat to create tasks ( #113783 )
2024-03-19 08:43:49 +01:00
Sid
ccd2e989c3
Enable ruff RUF005 and fix occurrences ( #113589 )
2024-03-16 07:37:20 -10:00
Marc Mueller
25237e0377
Replace EventType with Event [a-g] ( #112739 )
2024-03-08 19:35:17 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] ( #112699 )
2024-03-08 08:52:48 -05: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
G Johansson
b655507738
Add new climate feature flags to generic_thermostat ( #109548 )
...
Adds new climate feature flags to generic_thermostat
2024-02-04 10:38:09 +01:00
Marc Mueller
84038fb119
Enable strict typing for generic_thermostat ( #108024 )
2024-01-15 09:19:50 +01:00
J. Nick Koston
4b7a313ece
Use identity checks for CoreState ( #107846 )
...
Some of the checks used ==, and some used is. Switch
everything to is as its faster
2024-01-12 10:21:26 +01:00
Erik Montnemery
e1f0b44ba4
Use math.isfinite instead of explicitly checking for both nan and inf ( #98103 )
2023-08-09 14:13:57 +02:00
Marc Mueller
0cc396b863
Use EventType for state changed [a-h] ( #97116 )
2023-07-24 08:04:13 +02:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
Franck Nijhof
cb13418bab
String formatting and max line length - Part 2 ( #84393 )
2022-12-22 11:38:59 +01:00
epenet
ec532414ba
Import climate constants from root [a-l] ( #78177 )
2022-09-10 23:39:52 +02:00
epenet
46affe5c82
Adjust type hints in generic_thermostat ( #77490 )
2022-08-30 21:46:50 +02:00
epenet
b043053aad
Improve entity type hints [g] ( #77145 )
2022-08-26 11:37:12 +02:00
epenet
a46c25d2c8
Use _attr_should_poll in components [a-g] ( #77268 )
2022-08-26 10:15:33 +02:00
epenet
b81f8e75ee
Use climate enums in generic_thermostat ( #70656 )
...
* Use climate enums in generic_thermostat
* Adjust tests
2022-04-25 10:58:05 +02:00
arantes555
a1f33a093c
Generic thermostat temp step ( #70303 )
...
* Add target_temp_step to generic_thermostat
* Add target_temp_step to generic_thermostat : fix default + add tests
* Add target_temp_step to generic_thermostat : fix test by using new 'units_imperial' fixture
2022-04-20 01:19:59 +03:00
J. Nick Koston
c08afca912
Revert "Add target_temp_step to generic_thermostat ( #58691 )" ( #70299 )
...
This reverts commit ba4ca3e38e
.
2022-04-19 22:46:42 +03:00
arantes555
ba4ca3e38e
Add target_temp_step to generic_thermostat ( #58691 )
...
* Add target_temp_step to generic_thermostat
* Add target_temp_step to generic_thermostat : fix default + add tests
2022-04-19 17:16:37 +03:00
epenet
20c1a155b6
Use EntityFeature enum in components (g**) ( #69394 )
2022-04-06 10:46:44 +02:00
epenet
06ebbb7cae
Add climate setup type hints [a-l] ( #63278 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:26:32 +01:00
Brian Egge
27e3a5ba83
Generic thermostat presets ( #56080 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-23 14:29:29 -10:00
Marc Mueller
7063c05127
Use assignment expressions 33 ( #58717 )
2021-10-30 16:32:41 +02:00
Marc Mueller
184e0d7fdf
Use assignment expressions 26 ( #58187 )
2021-10-22 11:31:17 +02:00
Brian Egge
8d87f4148b
Fix generic thermostat switch state initialization ( #56073 )
2021-09-13 22:27:06 +02:00
Brian Egge
c81a319346
Handle unknown preset mode in generic thermostat ( #55588 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-09-04 13:17:57 -07:00
Erik Montnemery
61b38baf2e
Reject nan, inf from generic_thermostat sensor ( #48771 )
2021-04-07 09:00:42 -07:00
Franck Nijhof
0d595a2845
Merge of nested IF-IF cases - E-G ( #48367 )
2021-03-27 12:39:37 +01:00
javicalle
e798f415a4
Wait for switch startup in generic_thermostat ( #45253 )
...
* Better status control on restore
* Better status control on restore
* fix code coverage
* Rollback hvac_mode initialization
I think I have better understood the handling of the `hvac_mode`.
I change the approach. Now the thermostat doesn't initialize until the switch is available.
* fix pyupgrade
* fix black
* Delete test_turn_on_while_restarting
HVAC mode should not be modified by the switch.
IMHO, this test does not make sense because if the switch is turned on the thermostat is not turning on (and not changing HVAC_MODE)
* Re add turn off if HVAC is off
If HVAC_MODE is off thermostat will not control heater switch. This can be because `initial_hvac_mode`, because state defaults to or because old_state.
IMHO it is preferable to be excessively cautious.
* Update climate.py
* Change warning message
* Fix black
* Fix black
2021-03-19 15:42:45 +01:00
Anders Melchiorsen
b49a672fd5
Catch ConditionError in generic_thermostat climate ( #47359 )
2021-03-04 21:47:24 +01:00
Czapla
14a64ea970
Add generic_thermostat unique ID parameter ( #46399 )
...
* Add generic_thermostat unique ID parameter
* Add tests for unique id
* Fix flake8
2021-02-11 19:46:58 +00:00
Philip Allgaier
6800f4b6fd
Add temperature step size for generic_thermostat ( #41972 )
2021-01-27 09:12:24 +01:00
Nigel Rook
1d0b4290fe
Update generic_thermostat current_temperature on startup ( #43951 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-07 13:14:54 +01:00
J. Nick Koston
77490287e9
Add the ability to reload generic_thermostat platforms from yaml ( #39291 )
2020-08-27 23:59:49 -05:00
Phil Bruckner
580e229cf2
Create variable with result of wait_template and accept template for timeout option ( #38634 )
2020-08-12 13:42:06 -05:00
J. Nick Koston
b430496b13
Switch async_track_state_change to the faster async_track_state_change_event part 4 ( #37863 )
...
* Switch async_track_state_change to the faster async_track_state_change_event part 4
Calling async_track_state_change_event directly is faster than async_track_state_change (see #37251 ) since async_track_state_change is a wrapper around async_track_state_change_event now
* pylint
2020-07-14 22:25:48 -07:00
Franck Nijhof
f42eb0d5ca
Fix missing service call context in multiple locations ( #37094 )
2020-06-25 17:09:52 -07:00
Franck Nijhof
942cd7caa5
Fix sync call in async context generic_thermostat ( #34822 )
2020-04-28 22:21:34 -07:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
Paulus Schoutsen
aef06a3544
Directly call write state 2 ( #33513 )
...
* Directly call async_write_ha_state pt2
* Directly call async_write_ha_state pt2
* Fix mock
* Address comments
2020-04-03 09:34:50 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
Austin Mroczek
c79b3df73f
Handle generic_thermostat state unavailable ( #32852 )
...
* fix sensor unavailable error
* fix climate.py
2020-03-22 09:35:58 -05:00
Petro31
2c1c395c28
Set min and max temp only if it is not None ( #32262 )
2020-02-28 09:49:47 +01:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00