[growatt] annotate ThingActions implementation as a Component (#16986)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Andrew Fiddian-Green 2024-07-03 12:12:30 +01:00 committed by Ciprian Pascu
parent b706e3f24d
commit 2f4dce2175

View File

@ -20,6 +20,8 @@ import org.openhab.core.automation.annotation.RuleAction;
import org.openhab.core.thing.binding.ThingActions;
import org.openhab.core.thing.binding.ThingActionsScope;
import org.openhab.core.thing.binding.ThingHandler;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.ServiceScope;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -28,6 +30,7 @@ import org.slf4j.LoggerFactory;
*
* @author Andrew Fiddian-Green - Initial contribution
*/
@Component(scope = ServiceScope.PROTOTYPE, service = GrowattActions.class)
@ThingActionsScope(name = "growatt")
@NonNullByDefault
public class GrowattActions implements ThingActions {