Joost Lekkerkerker
b367c95c81
Add more common translations ( #96429 )
...
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof
c431fc2297
Migrate reload only helper services to support translations ( #96344 )
2023-07-11 20:56:21 +02:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
Erik Montnemery
899adef590
Sort manifests 4 ( #87025 )
2023-02-08 20:27:05 +01: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
Sebastian Lövdahl
bc3bf2ffe3
Use Platform constants all over the place 1/3 ( #62952 )
2021-12-28 21:13:20 +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
tkdrob
4ce3038b29
Add targets and selectors for services (G-H) ( #50524 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-12 20:49:04 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02: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
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07: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
Nathan
955aa1de39
Add INFO logging to generic_thermostat component for keep-alive turn … ( #28740 )
...
* Add INFO logging to generic_thermostat component for keep-alive turn on/off
* run black
2020-01-10 00:20:16 +01:00
Franck Nijhof
345cc244ed
Correct names in manifests (C-L) ( #30532 )
2020-01-07 08:19:17 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Bas Nijholt
d58e6e924a
Sort imports according to PEP8 for components starting with "G" ( #29767 )
2019-12-09 14:17:36 +01:00
akasma74
a977f398ae
Fix return values of preset_mode(s) properties ( #27751 )
...
It is incorrect to return None as a result of proprety call because in such a case state_attr call will return None as well, which means "Unknown attribute".
Instead for preset_mode(s) PRESET_NONE constant should be used for consistency.
2019-11-22 21:27:40 +01:00
akasma74
e96b5ef2b0
Fix generic_thermostat too_hot/too_cold ( #27860 )
...
* fix for too_hot/too_cold
Closes #27802
* too_hot correction
2019-11-08 09:25:37 +01:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00