|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Experimental fan entity for IO-Homecontrol exterior heating (a heat level, 0-100 %). More...
#include "esphome/components/fan/fan.h"#include "esphome/core/component.h"#include "platform_entity_base.h"Go to the source code of this file.
Classes | |
| class | esphome::home_io_control::IOHomeFan |
| Fan entity for IO-Homecontrol exterior heating. More... | |
Namespaces | |
| namespace | esphome |
| namespace | esphome::home_io_control |
Experimental fan entity for IO-Homecontrol exterior heating (a heat level, 0-100 %).
Exterior heating (node type 21) takes a heat level in the position field rather than a temperature, so it is a fan entity: on/off plus a 0-100 % speed that is the heat level. The mapping is the dimmable light's: heat p % is the IO position 100 - p (MP = position x 0x200, so 100 % heat is 0x0000 and off is 0xC800; KLF 200 API specification, Table 277). Every exterior heater is sent the main parameter only (no functional-parameter block); subtype 58 is on/off, so it advertises no speed.
A command shows the commanded on/off and level until the device's status reply (the settle poll after the command, then the regular poll) replaces it; a reply is always the observation that wins. Turning on without a level uses the last non-zero level, else full heat.
Definition in file platform_fan.h.