Commit Graph

26 Commits

Author SHA1 Message Date
dim145
1369245b15 fix: climate deprecated attributes 2025-01-14 09:37:19 +01:00
Andy Barratt
1da7b313d4 Add discovered HVAC and PRESET options (#1177)
* Add discovered HVAC and PRESET options

This commit adds the HVAC Action Set and Preset Set that I've discovered my Bödenwarme Underfloor Heating thermostat to be using as detailed here: https://github.com/rospogrigio/localtuya/issues/1175

* Add HVAC mode and action sets for climate entities

These are the actions and modes as reported by the Magnum smart wifi
thermostat: https://www.magnumheating.com/product/remote-control/

---------

Co-authored-by: Rutger Kerkhoff <rutger.kerkhoff@grafana.com>
2024-09-13 15:04:02 +02:00
Simon Tegelid
7b37f07fd0 Add support for more ac/fan modes (#1389)
* Add support for more ac/fan modes

* Replace deprecated constants with enums

* Add support for ClimateEntityFeature.TURN_{ON,OFF}

* Fix swing log message

---------

Co-authored-by: Simon Tegelid <simon.tegelid@bitvis.io>
2024-04-15 14:28:34 +02:00
Elad Bar
9c0e733804 Replaced SUPPORT_* with enums, set minimum HA version in HACS configuration to 2024.1.0 2024-01-05 13:29:06 +02:00
nu
b3afa14095 fix bug when climate entity is using default min/max temp and temp unit is F
The default min/max temps are in C but when the climate entity is set up with F this will cause incorrect boundary check and an inability to change the temperature from the home assistant entity UI widget.
2023-08-17 23:59:53 -04:00
Daan Kemper
831ae55804 #711 Implemented m/p HVAC mode set 2022-11-14 14:03:46 +01:00
Fabien Brachere
8a696cbaf2 Add "1/0" entry for HVAC_MODE_SETS
BHT-002 thermostat DP #4 set the heating mode (auto or manual). The accepted values are strings "0" for auto mode and "1" for manual mode.
This commit add an entry "1/0" to support this behaviour.
2022-07-25 09:58:00 +02:00
rospogrigio
8b11ffaf86 Turned all 'print' messages into _LOGGER.debug 2022-06-01 18:05:12 +02:00
rospogrigio
6be13c5ba0 Obfuscated diagnostics; fixed IP auto-update; cleaned logs 2022-05-23 11:22:48 +00:00
gpaesano
35ddf1564d Update climate.py
There is a typo in target precision which prevents corrct handling of temperature
2022-01-29 10:33:58 +01:00
Martín Villagra
c7ee5fdb78 add turn on/off method 2022-01-13 17:15:49 -03:00
Martín Villagra
cf125ae616 add Manual/Program HVAC mode 2022-01-10 17:25:11 -03:00
Martín Villagra
b19682cfd9 use idle instead of off HVAC state 2022-01-10 17:24:59 -03:00
Martín Villagra
a8883a5d8e add Heat/Warming HVAC actions 2022-01-10 17:03:21 -03:00
Martín Villagra
20369577f3 fix linter issues 2021-11-23 20:45:20 +00:00
Martín Villagra
ae3f305db0 addressed all pending suggestions 2021-11-23 20:28:34 +00:00
Martín Villagra
7251d62035 use _LOGGER
Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2021-11-23 20:28:34 +00:00
Martín Villagra
6dcb5a5056 format comment2
Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2021-11-23 20:28:34 +00:00
Martín Villagra
0550f54fe3 format comment
Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2021-11-23 20:28:34 +00:00
Martín Villagra
b6fe88211a reorder imports3
Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2021-11-23 20:28:34 +00:00
Martín Villagra
39b6ffa616 reorder dict2
Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2021-11-23 20:28:34 +00:00
Martín Villagra
e184942c11 reorder dict
Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2021-11-23 20:28:34 +00:00
Martín Villagra
ea5244de74 reorder imports2
Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2021-11-23 20:28:34 +00:00
Martín Villagra
2335bb12fa reorder imports
Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2021-11-23 20:28:34 +00:00
Martín Villagra
d9f0d1ecab add simple on/off mode 2021-11-23 19:45:48 +00:00
Martín Villagra
0985ad64f2 add climate implementation 2021-11-23 19:45:48 +00:00