mirror of
https://github.com/esphome/esphome.git
synced 2025-10-06 20:03:46 +01:00
Enable readability-redundant-member-init check (#3097)
This commit is contained in:
@@ -14,7 +14,7 @@ static const char *const TAG = "mqtt.fan";
|
||||
|
||||
using namespace esphome::fan;
|
||||
|
||||
MQTTFanComponent::MQTTFanComponent(FanState *state) : MQTTComponent(), state_(state) {}
|
||||
MQTTFanComponent::MQTTFanComponent(FanState *state) : state_(state) {}
|
||||
|
||||
FanState *MQTTFanComponent::get_state() const { return this->state_; }
|
||||
std::string MQTTFanComponent::component_type() const { return "fan"; }
|
||||
|
Reference in New Issue
Block a user