Skip to content

Commit

Permalink
[growatt] annotate ThingActions implementation as a Component (openha…
Browse files Browse the repository at this point in the history
…b#16986)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
  • Loading branch information
andrewfg authored and matchews committed Oct 18, 2024
1 parent 0aa8fe9 commit af268f7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
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;

Expand All @@ -28,6 +30,7 @@
*
* @author Andrew Fiddian-Green - Initial contribution
*/
@Component(scope = ServiceScope.PROTOTYPE, service = GrowattActions.class)
@ThingActionsScope(name = "growatt")
@NonNullByDefault
public class GrowattActions implements ThingActions {
Expand Down

0 comments on commit af268f7

Please sign in to comment.