esphome/esphome/components/climate
Marcel van der Veldt 72d6471ab8 add support for climate action (#720)
* add support for climate action:

Following hass implementation of climate, action represents the current action the climate device is perfoming, e.g. cooling or heating

fix bang_bang climate:

make sure that the thresholds are always respected.
fixes the issue where the component would just keep on heating, regardless of the temperature range

* Updates

- Use dedicated enum for action (otherwise it gets confusing because "auto" is not a valid action)
- Add field to tell HA that action is supported
- Revert semantic changes in bang_bang

* Conditional print


Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-10-18 10:39:14 +02:00
..
__init__.py Moar Custom platforms 2019-05-15 10:55:35 +02:00
automation.h Updates 2019-04-24 23:49:02 +02:00
climate.cpp add support for climate action (#720) 2019-10-18 10:39:14 +02:00
climate.h add support for climate action (#720) 2019-10-18 10:39:14 +02:00
climate_mode.cpp add support for climate action (#720) 2019-10-18 10:39:14 +02:00
climate_mode.h add support for climate action (#720) 2019-10-18 10:39:14 +02:00
climate_traits.cpp add support for climate action (#720) 2019-10-18 10:39:14 +02:00
climate_traits.h add support for climate action (#720) 2019-10-18 10:39:14 +02:00