2023-03-22 20:04:39 +01:00

24 lines
943 B
C++

#pragma once
#include "TrumaStausFrameResponseStorage.h"
#include "TrumaStructs.h"
namespace esphome {
namespace truma_inetbox {
class TrumaiNetBoxAppHeater : public TrumaStausFrameResponseStorage<StatusFrameHeater, StatusFrameHeaterResponse> {
public:
StatusFrameHeaterResponse *update_prepare() override;
void create_update_data(StatusFrame *response, u_int8_t *response_len, u_int8_t command_counter) override;
void dump_data() const override;
bool action_heater_room(u_int8_t temperature, HeatingMode mode = HeatingMode::HEATING_MODE_OFF);
bool action_heater_water(u_int8_t temperature);
bool action_heater_water(TargetTemp temperature);
bool action_heater_electric_power_level(u_int16_t value);
bool action_heater_energy_mix(EnergyMix energy_mix,
ElectricPowerLevel el_power_level = ElectricPowerLevel::ELECTRIC_POWER_LEVEL_0);
};
} // namespace truma_inetbox
} // namespace esphome