From 579aeab7c7c42d6fb506bbb10ef7b3f20933237c Mon Sep 17 00:00:00 2001 From: Maurice Makaay Date: Thu, 14 Oct 2021 22:12:27 +0200 Subject: [PATCH] Fix compatibility with EntityBase Refactor (#2418) --- components/xiaomi_bslamp2/light/light_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{};