18 void setup()
override;
void on_bedjet_state(bool is_ready) override
This class is used to encode all control actions on a climate device.
void set_supported_custom_presets(std::set< std::string > supported_custom_presets)
void set_visual_temperature_step(float temperature_step)
float target_temperature
The target temperature of the climate device.
const float AFTER_WIFI
For components that should be initialized after WiFi is connected.
void reset_state_()
Resets states to defaults.
This class contains all static data for climate devices.
void add_supported_custom_preset(const std::string &preset)
void set_visual_min_temperature(float visual_min_temperature)
The climate device is set to heat to reach the target temperature.
ClimateMode mode
The active mode of the climate device.
float current_temperature
The current temperature of the climate device, as reported from the integration.
This class simplifies creating components that periodically check a state.
The climate device is set to dry/humidity mode.
void set_supported_presets(std::set< ClimatePreset > presets)
BedjetHeatMode heating_mode_
The format of a BedJet V3 status packet.
void set_temperature_source(BedjetTemperatureSource source)
Sets the temperature source to use for the climate entity's current temperature.
bool update_status_()
Attempts to update the climate device from the last received BedjetStatusPacket.
std::string describe() override
HVACMode.HEAT is handled using BTN_EXTHT.
void control(const climate::ClimateCall &call) override
climate::ClimateTraits traits() override
float get_setup_priority() const override
void set_supported_modes(std::set< ClimateMode > modes)
void set_visual_max_temperature(float visual_max_temperature)
void set_heating_mode(BedjetHeatMode mode)
Sets the default strategy to use for climate::CLIMATE_MODE_HEAT.
The climate device is off.
void set_supports_action(bool supports_action)
Device is in boost preset.
BedjetHeatMode
Optional heating strategies to use for climate::CLIMATE_MODE_HEAT.
Implementation of SPI Controller mode.
void set_supports_current_temperature(bool supports_current_temperature)
void set_supported_custom_fan_modes(std::set< std::string > supported_custom_fan_modes)
BedjetTemperatureSource temperature_source_
The climate device only has the fan enabled, no heating or cooling is taking place.
void dump_config() override
void on_status(const BedjetStatusPacket *data) override
ClimateDevice - This is the base class for all climate integrations.
HVACMode.HEAT is handled using BTN_HEAT (default)