1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-21 04:18:16 +00:00
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
..
2019-04-22 21:56:30 +02:00
2019-05-27 13:06:45 +02:00
2019-10-16 13:19:41 +02:00
2019-04-22 21:56:30 +02:00
2019-10-18 10:39:14 +02:00
2019-10-12 17:03:01 +02:00
2019-10-12 17:03:01 +02:00
2019-10-13 13:51:34 +02:00
2019-06-28 11:29:37 +02:00
2019-05-08 10:17:08 +02:00
2019-04-22 21:56:30 +02:00
2019-05-12 23:04:36 +02:00
2019-05-08 14:56:54 +02:00
2019-05-15 20:57:29 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-06-09 17:03:51 +02:00
2019-05-15 10:55:35 +02:00
2019-10-17 21:01:02 +02:00
2019-10-17 21:01:02 +02:00
2019-04-24 23:49:02 +02:00
2019-04-22 21:56:30 +02:00
2019-10-14 12:06:23 +02:00
2019-05-15 10:55:35 +02:00
2019-05-30 20:01:58 +02:00
2019-06-30 09:14:16 +02:00
2019-06-03 16:07:15 +02:00
2019-10-17 21:34:58 +02:00
2019-08-31 21:14:10 +02:00
2019-04-22 21:56:30 +02:00
2019-05-08 10:17:08 +02:00
2019-04-22 21:56:30 +02:00
2019-05-08 10:17:08 +02:00
2019-05-12 23:04:36 +02:00
2019-05-24 16:34:01 +02:00
2019-06-01 22:00:09 +02:00
2019-06-28 11:29:37 +02:00
2019-04-22 21:56:30 +02:00
2019-05-11 11:40:29 +02:00
2019-06-14 12:40:14 +02:00
2019-05-27 13:06:45 +02:00
2019-08-27 22:11:50 +02:00
2019-10-15 20:53:59 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-06-03 09:41:13 +02:00
2019-10-16 13:19:41 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-04-24 23:49:02 +02:00
2019-05-25 09:02:18 +02:00
2019-10-17 16:18:41 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-05-27 13:06:45 +02:00
2019-06-28 11:29:37 +02:00
2019-04-22 21:56:30 +02:00
2019-05-28 22:27:39 +02:00
2019-05-12 23:04:36 +02:00
2019-05-31 13:38:56 +02:00
2019-05-11 11:40:29 +02:00
2019-05-12 23:04:36 +02:00
2019-05-12 23:04:36 +02:00
2019-05-26 10:31:29 +02:00
2019-04-22 21:56:30 +02:00
2019-05-13 20:45:22 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-10-18 10:22:29 +02:00
2019-04-24 18:11:46 +02:00
2019-04-22 21:56:30 +02:00
2019-08-31 19:45:34 +02:00
2019-05-31 15:05:37 +02:00
2019-06-28 11:29:37 +02:00
2019-04-22 21:56:30 +02:00
2019-06-08 17:45:55 +02:00
2019-10-17 16:36:11 +02:00
2019-04-22 21:56:30 +02:00
2019-05-26 10:31:29 +02:00
2019-04-22 21:56:30 +02:00
2019-04-24 23:49:02 +02:00
2019-04-22 21:56:30 +02:00
2019-06-28 11:29:37 +02:00
2019-05-27 13:06:45 +02:00
2019-10-18 09:22:55 +02:00
2019-04-22 21:56:30 +02:00
2019-06-18 19:42:36 +02:00
2019-04-24 23:49:02 +02:00
2019-08-27 22:11:50 +02:00
2019-08-29 21:34:29 -03:00
2019-05-13 20:45:22 +02:00
2019-05-13 13:05:30 +02:00
2019-07-03 16:42:32 +02:00
2019-04-22 21:56:30 +02:00
2019-05-27 13:06:45 +02:00
2019-05-08 09:58:03 +02:00
2019-08-29 21:34:29 -03:00
2019-05-08 10:17:08 +02:00
2019-10-17 14:02:41 +02:00