# File lib/commands/light_sensor.rb, line 46
  def logic
    case @comparison
      when ">"
        intensity >= @trigger_point ? true : false
      when "<"
        intensity <= @trigger_point ? true : false
    end
  end