package frc.robot;
import edu.wpi.first.wpilibj.util.Color;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.LightsSubsystem;
public class EnableLedsOnActiveHub extends Command
{

    private final LightsSubsystem lights;
    public EnableLedsOnActiveHub(LightsSubsystem lights)
    {
        this.lights = lights;
        addRequirements(lights);
        
    }

    @Override
    public void initialize()
    {
        
    }

    // Called every time the scheduler runs while the command is scheduled.
    @Override
    public void execute()
    {
        lights.setSolidColor(Color.kGreen);
    }

    // Called once the command ends or is interrupted.
    @Override
    public void end(boolean interrupted)
    {

    }

    // Returns true when the command should end.
    @Override
    public boolean isFinished()
    {
        return false;
    }

}

