20 void setup()
override;
bool send_initial_state() override
float target_temperature_low
void send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) override
float target_temperature_high
MQTTClimateComponent(climate::Climate *device)
ClimateSwingMode swing_mode
climate::Climate * device_
virtual const EntityBase * get_entity() const =0
Gets the Entity served by this MQTT component.
state command command command command command command state state state MQTT_COMPONENT_CUSTOM_TOPIC(preset, command) protected bool publish_state_()
BedjetMode mode
BedJet operating mode.
Simple Helper struct used for Home Assistant MQTT send_discovery().
Implementation of SPI Controller mode.
std::string component_type() const override
MQTT_COMPONENT_CUSTOM_TOPIC(current_temperature, state) MQTT_COMPONENT_CUSTOM_TOPIC(current_humidity
ClimateDevice - This is the base class for all climate integrations.
MQTTComponent is the base class for all components that interact with MQTT to expose certain function...