diff --git a/components/xiaomi_bslamp2/light/light_state.h b/components/xiaomi_bslamp2/light/light_state.h index 1f18cd3..10642e8 100644 --- a/components/xiaomi_bslamp2/light/light_state.h +++ b/components/xiaomi_bslamp2/light/light_state.h @@ -29,7 +29,7 @@ struct MyLightStateRTCState { */ class XiaomiBslamp2LightState : public light::LightState, public LightStateDiscoSupport { public: - XiaomiBslamp2LightState(const std::string &name, XiaomiBslamp2LightOutput *output) : light::LightState(name, output) { } + XiaomiBslamp2LightState(XiaomiBslamp2LightOutput *output) : light::LightState(output) { } void disco_stop() { MyLightStateRTCState recovered{};